Last active
December 15, 2016 09:35
-
-
Save LnL7/4149237a98b9040f57670b847a857ca8 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 ? import <nixpkgs> {} }: | |
let | |
inherit (pkgs) stdenvNoCC; | |
in | |
stdenvNoCC.mkDerivation { | |
name = "foo"; | |
unpackPhase = ":"; | |
installPhase = '' | |
mkdir -p $out/bin | |
cp ${./setup.sh} $out/bin/run-setup | |
''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment