Created
September 8, 2017 08:24
-
-
Save NWuensche/35fac5da53eedfab29f63343357b82f2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{pkgs, stdenv}: | |
stdenv.mkDerivation rec { | |
name = "Planescape-Enhanced"; | |
src = ./install.sh; | |
unpackPhase = "true"; | |
installPhase = '' | |
mkdir -p $out | |
cp $src $out/install.sh | |
patchShebangs $out/install.sh | |
substituteInPlace $out/install.sh \ | |
--replace /bin/rm "/run/current-system/sw/bin/rm" | |
sh $out/install.sh | |
''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment