restool: fix x86_64-linux build

main
Pierre Bourdon 2 years ago
parent abacc8de82
commit 204417b2a4
No known key found for this signature in database
GPG Key ID: 6FB80DCD84DA0F1C
  1. 6
      pkgs/os-specific/linux/restool/default.nix

@ -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…
Cancel
Save