summary refs log tree commit diff
path: root/pkgs/os-specific/linux/checksec/default.nix
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2015-04-26 19:54:51 +0200
committerVladimír Čunát <vcunat@gmail.com>2015-05-05 11:52:08 +0200
commit3b9ef2c71b275c924c4b28caf2f8a765bfc75d14 (patch)
tree0d6fcf3d6474bdb436c0af0c975efd35df8cd6cf /pkgs/os-specific/linux/checksec/default.nix
parentb7c3c25218f8807920318ceb61b70f4343e0bd91 (diff)
downloadnixpkgs-3b9ef2c71b275c924c4b28caf2f8a765bfc75d14.tar
nixpkgs-3b9ef2c71b275c924c4b28caf2f8a765bfc75d14.tar.gz
nixpkgs-3b9ef2c71b275c924c4b28caf2f8a765bfc75d14.tar.bz2
nixpkgs-3b9ef2c71b275c924c4b28caf2f8a765bfc75d14.tar.lz
nixpkgs-3b9ef2c71b275c924c4b28caf2f8a765bfc75d14.tar.xz
nixpkgs-3b9ef2c71b275c924c4b28caf2f8a765bfc75d14.tar.zst
nixpkgs-3b9ef2c71b275c924c4b28caf2f8a765bfc75d14.zip
fix "libc}/lib" and similar references
Done mostly without any verification.
I didn't bother with libc}/include, as the path is still correct.
Diffstat (limited to 'pkgs/os-specific/linux/checksec/default.nix')
-rw-r--r--pkgs/os-specific/linux/checksec/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/checksec/default.nix b/pkgs/os-specific/linux/checksec/default.nix
index b423dc3a086..60468538be2 100644
--- a/pkgs/os-specific/linux/checksec/default.nix
+++ b/pkgs/os-specific/linux/checksec/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
     cp checksec.sh $out/bin/checksec
     chmod +x $out/bin/checksec
     substituteInPlace $out/bin/checksec --replace /bin/bash ${stdenv.shell}
-    substituteInPlace $out/bin/checksec --replace /lib/libc.so.6 ${glibc}/lib/libc.so.6
+    substituteInPlace $out/bin/checksec --replace /lib/libc.so.6 ${glibc.out}/lib/libc.so.6
     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"