Created
February 29, 2020 02:56
-
-
Save alexpeits/a4b8f99d922b00be9c636605559bb045 to your computer and use it in GitHub Desktop.
nix derivation to build the source for the programming language miranda (http://miranda.org.uk/)
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
with import <nixpkgs> {}; | |
stdenv.mkDerivation { | |
name = "miranda"; | |
buildInputs = [ gcc ]; | |
src = ./.; | |
configurePhase = '' | |
make cleanup | |
patchShebangs quotehostinfo | |
''; | |
installPhase = '' | |
mkdir -p $out/bin | |
cp mira $out/bin | |
''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment