replace hardcoded guess path with what i hope is the proper nixos path

This commit is contained in:
Aaron Andersen 2018-08-26 01:02:33 +00:00
parent 63c3b7ce10
commit 944f0b01a4

View File

@ -10,6 +10,7 @@ stdenv.mkDerivation rec {
patchPhase = '' patchPhase = ''
sed -i "s|PREFIX = /usr/local|PREFIX = $out|g" Makefile sed -i "s|PREFIX = /usr/local|PREFIX = $out|g" Makefile
sed -i "s|/bin/bash|${bash}/bin/bash|g" usertable.cpp sed -i "s|/bin/bash|${bash}/bin/bash|g" usertable.cpp
sed -i "s|/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin|/run/current-system/sw/bin|g" usertable.cpp
''; '';
installPhase = '' installPhase = ''