mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 12:59:04 +02:00
nix: patchShebangs tests
Without this, building a newer nix (2.15) on an older nix (2.3) with sandboxing enabled will fail, which is problematic for doing a self-contained update on an older system.
This commit is contained in:
parent
21b3094ca2
commit
917e133273
|
@ -132,6 +132,10 @@ self = stdenv.mkDerivation {
|
|||
(lib.optionalString (stdenv.hostPlatform.system == "armv5tel-linux" || stdenv.hostPlatform.system == "armv6l-linux") "-latomic")
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs --build tests
|
||||
'';
|
||||
|
||||
preConfigure =
|
||||
# Copy libboost_context so we don't get all of Boost in our closure.
|
||||
# https://github.com/NixOS/nixpkgs/issues/45462
|
||||
|
|
Loading…
Reference in a new issue