diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2016-04-10 22:50:27 +0300 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2016-04-14 08:32:20 +0300 |
commit | 794f07d4e42afe3f2410355bfb9cde3c498ab432 (patch) | |
tree | 323adedb2276f7475bb80d108e4c0c4d0b3c8fa7 /pkgs/os-specific/linux/checksec/default.nix | |
parent | f34655e28cedb36acbf608bbeff96e5a91290b26 (diff) | |
download | nixpkgs-794f07d4e42afe3f2410355bfb9cde3c498ab432.tar nixpkgs-794f07d4e42afe3f2410355bfb9cde3c498ab432.tar.gz nixpkgs-794f07d4e42afe3f2410355bfb9cde3c498ab432.tar.bz2 nixpkgs-794f07d4e42afe3f2410355bfb9cde3c498ab432.tar.lz nixpkgs-794f07d4e42afe3f2410355bfb9cde3c498ab432.tar.xz nixpkgs-794f07d4e42afe3f2410355bfb9cde3c498ab432.tar.zst nixpkgs-794f07d4e42afe3f2410355bfb9cde3c498ab432.zip |
treewide: Mass replace 'binutils}/bin' to refer to the correct outputs
Diffstat (limited to 'pkgs/os-specific/linux/checksec/default.nix')
-rw-r--r-- | pkgs/os-specific/linux/checksec/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/os-specific/linux/checksec/default.nix b/pkgs/os-specific/linux/checksec/default.nix index 60468538be2..e698c11ad0f 100644 --- a/pkgs/os-specific/linux/checksec/default.nix +++ b/pkgs/os-specific/linux/checksec/default.nix @@ -25,9 +25,9 @@ stdenv.mkDerivation rec { substituteInPlace $out/bin/checksec --replace find ${findutils}/bin/find substituteInPlace $out/bin/checksec --replace "file $" "${file}/bin/file $" substituteInPlace $out/bin/checksec --replace "xargs file" "xargs ${file}/bin/file" - substituteInPlace $out/bin/checksec --replace " readelf -" " ${binutils}/bin/readelf -" - substituteInPlace $out/bin/checksec --replace "(readelf -" "(${binutils}/bin/readelf -" - substituteInPlace $out/bin/checksec --replace "command_exists readelf" "command_exists ${binutils}/bin/readelf" + substituteInPlace $out/bin/checksec --replace " readelf -" " ${binutils.out}/bin/readelf -" + substituteInPlace $out/bin/checksec --replace "(readelf -" "(${binutils.out}/bin/readelf -" + substituteInPlace $out/bin/checksec --replace "command_exists readelf" "command_exists ${binutils.out}/bin/readelf" substituteInPlace $out/bin/checksec --replace "/sbin/sysctl -" "${procps}/sbin/sysctl -" substituteInPlace $out/bin/checksec --replace "/usr/bin/id -" "${coreutils}/bin/id -" ''; |