Skip to content

Commit

Permalink
unixbench: No need to use targetPackages here
Browse files Browse the repository at this point in the history
causes eval error on cross
  • Loading branch information
Artturin committed Sep 27, 2024
1 parent 6843260 commit 3194fb7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/development/tools/misc/unixbench/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
, libGLX
, coreutils
, unixtools
, runtimeShell
, targetPackages
, gnugrep
, gawk
Expand Down Expand Up @@ -89,7 +90,7 @@ stdenv.mkDerivation rec {

preFixup = ''
substituteInPlace $out/libexec/pgms/multi.sh \
--replace '/bin/sh "$' '${targetPackages.runtimeShell} "$'
--replace '/bin/sh "$' '${runtimeShell} "$'
substituteInPlace $out/bin/ubench \
--subst-var out
Expand Down

0 comments on commit 3194fb7

Please sign in to comment.