mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 08:36:41 +01:00
restool: fix x86_64-linux build
This commit is contained in:
parent
abacc8de82
commit
204417b2a4
1 changed files with 6 additions and 0 deletions
|
@ -18,6 +18,12 @@ stdenv.mkDerivation rec {
|
|||
"VERSION=${version}"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# -Werror makes this derivation fragile on compiler version upgrades, patch
|
||||
# it out.
|
||||
sed -i /-Werror/d Makefile
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
# wrapProgram interacts badly with the ls-main tool, which relies on the
|
||||
# shell's $0 argument to figure out which operation to run (busybox-style
|
||||
|
|
Loading…
Reference in a new issue