Created
June 27, 2017 11:02
-
-
Save lukego/478943a4ebc0bb4e9ab1a003275ffb31 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
with import <nixpkgs> {}; | |
with stdenv; | |
let | |
a = runCommand "a" {} "mkdir -p $out/lib/mydir; touch $out/lib/mydir/a"; | |
b = runCommand "b" {} "mkdir -p $out/lib/mydir; touch $out/lib/mydir/b"; | |
in | |
runCommand "c" { buildInputs = [ a b ]; } '' | |
echo "Where can I find lib/mydir...?" | |
'' |
Author
lukego
commented
Jun 27, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment