Created
August 9, 2018 08:40
-
-
Save srhb/5e5cac19c6da82f6fd587ebae1305022 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
{ stdenv }: | |
stdenv.mkDerivation rec { | |
name = "test"; | |
src = ./.; | |
buildPhase = "gcc test.c"; | |
installPhase = '' | |
mkdir $out | |
cp a.out $out/test | |
''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment