diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2017-08-27 17:03:46 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2017-08-27 17:06:46 +0200 |
commit | 592d23d7db0880f92bb6c71b83368b9fa6412d70 (patch) | |
tree | 100c03c2ebac256e34cc3ec6ddff884bfe6d23c1 /pkgs/desktops/maxx | |
parent | a4c2613f3de171b7189d2ebb3bcf06f763cf6739 (diff) |
maxx: fix evaluation
Occurences of `$'` apparently do have to be quoted in ''-strings.
Diffstat (limited to 'pkgs/desktops/maxx')
-rw-r--r-- | pkgs/desktops/maxx/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/desktops/maxx/default.nix b/pkgs/desktops/maxx/default.nix index 3e8ca1f388e9..339183f906ec 100644 --- a/pkgs/desktops/maxx/default.nix +++ b/pkgs/desktops/maxx/default.nix @@ -34,7 +34,7 @@ in stdenv.mkDerivation { nativeBuildInputs = [ makeWrapper ]; buildPhase = '' - while IFS= read -r -d $'\0' i; do + while IFS= read -r -d ''$'\0' i; do substituteInPlace "$i" --replace /opt/MaXX $out/opt/MaXX done < <(find "." -type f -exec grep -Iq /opt/MaXX {} \; -and -print0) @@ -57,7 +57,7 @@ in stdenv.mkDerivation { --prefix GDK_PIXBUF_MODULE_FILE : "$(echo ${librsvg.out}/lib/gdk-pixbuf-2.0/*/loaders.cache)" \ --prefix PATH : ${stdenv.lib.makeBinPath runtime_deps} - while IFS= read -r -d $'\0' i; do + while IFS= read -r -d ''$'\0' i; do if isELF "$i"; then bin=`patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" "$i"; echo $?` patchelf --set-rpath "${stdenv.lib.makeLibraryPath deps}" "$i" |