Profpatsch
4a7f99d55d
treewide: with stdenv.lib; in meta -> with lib;
...
Part of: https://github.com/NixOS/nixpkgs/issues/108938
meta = with stdenv.lib;
is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.
This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.
The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Gaelan Steele
b6beb43dd7
kexectools: always pass host and target to configure
...
Fixes #56290 .
2020-05-12 12:16:08 -07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs
2020-04-10 17:54:53 +01:00
Vladimír Čunát
22a216849b
Re-Revert "Merge branch 'staging-next'"
...
This reverts commit f8a8fc6c7c
.
2019-09-22 09:38:09 +02:00
Vladimír Čunát
f8a8fc6c7c
Revert "Merge branch 'staging-next'"
...
This reverts commit 41af38f372
, reversing
changes made to f0fec244ca
.
Let's delay this. We have some serious regressions.
2019-09-21 20:05:09 +02:00
worldofpeace
dc051dfdef
kexectools: fix build on i686
...
https://hydra.nixos.org/build/99957229
See: cb1e5463b5
2019-09-09 22:31:34 -04:00
R. RyanTM
5abfb98d50
kexectools: 2.0.19 -> 2.0.20
...
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/kexec-tools/versions
2019-09-06 19:39:55 +02:00
volth
46420bbaa3
treewide: name -> pname (easy cases) ( #66585 )
...
treewide replacement of
stdenv.mkDerivation rec {
name = "*-${version}";
version = "*";
to pname
2019-08-15 13:41:18 +01:00
Matthew Bauer
b7950c560a
kexectools: mark bad platforms
2019-05-02 21:30:32 -04:00
Matthew Bauer
c1287a4b9c
kexec-tools: use depsBuildBuild to get the right compiler
...
Need this to avoid this issue in pkgsStatic:
ld: cannot find -lc
/cc @ericson2314
2019-04-26 18:04:29 -04:00
R. RyanTM
78f3220991
kexectools: 2.0.18 -> 2.0.19 ( #57264 )
...
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/kexec-tools/versions
2019-04-08 23:50:23 +02:00
Renaud
2e95a386fe
Merge pull request #50075 from r-ryantm/auto-update/kexec-tools
...
kexectools: 2.0.17 -> 2.0.18
2018-11-25 10:12:12 +01:00
Matthew Bauer
76c956be5c
treewide: disable pie in more places
...
Some packages don’t work correctly with pie. Here I disable it for:
- busybox
- linux kernel
- kexectools
I also get rid of the Musl conditional for disabling pie in GCC and
Binutils. Some day we might want to enable PIE without Musl and it
will be useful to have the *just* work with our compiler and linkers.
2018-11-13 07:03:31 -06:00
R. RyanTM
3a6a4c8dab
kexectools: 2.0.17 -> 2.0.18
...
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/kexec-tools/versions
2018-11-09 13:56:32 -08:00
Markus Kowalewski
887ed7ab45
kexec-tools: add license
2018-08-30 00:38:33 +02:00
R. RyanTM
d0a7664cc3
kexectools: 2.0.16 -> 2.0.17
...
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/kexec-tools/versions .
These checks were done:
- built on NixOS
- ran ‘/nix/store/fs7vc5d6vw26v0502smh2dhg6390d1za-kexec-tools-2.0.17/bin/kexec -h’ got 0 exit code
- ran ‘/nix/store/fs7vc5d6vw26v0502smh2dhg6390d1za-kexec-tools-2.0.17/bin/kexec --help’ got 0 exit code
- ran ‘/nix/store/fs7vc5d6vw26v0502smh2dhg6390d1za-kexec-tools-2.0.17/bin/kexec -v’ and found version 2.0.17
- ran ‘/nix/store/fs7vc5d6vw26v0502smh2dhg6390d1za-kexec-tools-2.0.17/bin/kexec --version’ and found version 2.0.17
- found 2.0.17 with grep in /nix/store/fs7vc5d6vw26v0502smh2dhg6390d1za-kexec-tools-2.0.17
- directory tree listing: https://gist.github.com/892a831f872f6ec59c936b89b0bd6aa6
2018-04-24 12:42:18 -07:00
Shea Levy
cdf9a78a3e
kexectools: Disable only on RISC-V if Linux.
...
The isKexecable flag treated Linux without kexec as just a normal
variant, when it really should be treated as a special case incurring
complexity debt to support.
2018-03-27 08:15:07 -04:00
Ben Gamari
ef5d3d1c9f
kexectools: Fix cross compilation
2018-02-13 09:45:00 -06:00
Ben Gamari
f33a75a658
kexectools: Add dependency on build CC
...
Seems to allow cross-compilation.
2018-02-13 09:45:00 -06:00
Tobias Geerinckx-Rice
0f84673f3d
Remove nckx as a maintainer for all packages
...
Goodbye, and thanks for all the Nix...
2018-01-16 23:00:49 +01:00
Tuomas Tynkkynen
7cf9900b48
kexectools: 2.0.15 -> 2.0.16
2017-12-03 01:50:42 +02:00
Symphorien Gibol
8e53ca98f2
kexectools: 2.0.14 -> 2.0.15
2017-10-14 16:50:45 +02:00
Tuomas Tynkkynen
e60bb86d00
kexectools: 2.0.13 -> 2.0.14
...
ARM patch is included upstream now.
2016-12-26 18:54:34 +02:00
aszlig
ffe71cbe19
kexec-tools: Add patch to fix build on ARM
...
Building on ARM fails with the following error:
kexec/arch/arm/phys_to_virt.o kexec/arch/arm/phys_to_virt.c
kexec/arch/arm/phys_to_virt.c:3:26: fatal error: phys_to_virt.h: No such file or directory
The patch I'm using is from Fedora:
http://pkgs.fedoraproject.org/cgit/rpms/kexec-tools.git/tree/kexec-tools-2.0.13-fix-armv7-build-failure.patch?id=97581f1a435aafa298a4d0bbcfaf40c63a41ce92
It has been reported upstream as well:
http://lists.infradead.org/pipermail/kexec/2016-September/017352.html
I'm adding the patch for all architectures, so that the next person to
upgrade kexec-tools doesn't forget that even while on x86.
Tested building with i686-linux, x86_64-linux and armv7l-linux.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-12-18 04:49:39 +01:00
Jörg Thalheim
4714ca8b56
kexec-tools: 2.0.12 -> 2.0.13 ( #21158 )
...
also fix kexec by removing faulty hardeningFlags
2016-12-15 20:48:03 +01:00
Robin Gloster
f60c9df0ba
Merge remote-tracking branch 'upstream/master' into hardened-stdenv
2016-03-28 15:16:29 +00:00
Tobias Geerinckx-Rice
40b396a7a4
kexectools: 2.0.11 -> 2.0.12
2016-03-23 14:37:08 +01:00
Franz Pletz
aff1f4ab94
Use general hardening flag toggle lists
...
The following parameters are now available:
* hardeningDisable
To disable specific hardening flags
* hardeningEnable
To enable specific hardening flags
Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.
cc-wrapper supports the following flags:
* fortify
* stackprotector
* pie (disabled by default)
* pic
* strictoverflow
* format
* relro
* bindnow
2016-03-05 18:55:26 +01:00
Robin Gloster
f6d3b7a2ae
switch hardening flags
2016-01-30 16:36:57 +00:00
Franz Pletz
954e9903ad
Use a hardened stdenv by default
2016-01-30 16:36:57 +00:00
Tobias Geerinckx-Rice
9fb8020e4e
Add version attribute where maintainers |= nckx
...
This will probably be mandatory soon, and is a step in the right
direction. Removes the deprecated meta.version, and move some meta
sections to the end of the file where I should have put them in
the first place.
2016-01-25 17:35:21 +01:00
Pascal Wittmann
7fd2796e99
Replace 'with plaforms; platform' with 'platforms.platform'
2015-11-17 21:30:43 +01:00
Tobias Geerinckx-Rice
10df3db175
kexec-tools 2.0.10 -> 2.0.11
2015-11-09 18:03:11 +01:00
Tobias Geerinckx-Rice
ba527075af
kexec-tools: add mirror://kernel URI
...
From http://horms.net/projects/kexec/kexec-tools :
"The canonical site for kexec-tools release is
http://kernel.org/pub/linux/utils/kernel/kexec/ . It should also be
available on the extensive network of kernel.org mirror sites and
it is mirrored at http://horms.net/projects/kexec/kexec-tools/
just for good measure."
2015-11-09 18:03:10 +01:00
Tobias Geerinckx-Rice
63041a7ecb
kexec-tools: 2.0.9 -> 2.0.10
2015-07-03 04:28:43 +02:00
Tobias Geerinckx-Rice
63727ffcb2
kexec-tools 2.0.4 -> 2.0.9
2015-04-19 03:45:58 +02:00
Eelco Dolstra
9c49229aae
kexec-tools: Update to 2.0.4
2013-09-12 10:38:37 +02:00
Lluís Batlle i Rossell
ef1437585d
Adding kexectools.
...
svn path=/nixpkgs/trunk/; revision=33175
2012-03-16 21:17:13 +00:00