Created
January 22, 2017 16:32
-
-
Save expipiplus1/72b6d59957e6e0b73a55326492072096 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
let | |
pkgs = import <nixpkgs> {}; | |
d = {stdenv}: | |
stdenv.mkDerivation { | |
name = import (pkgs.runCommand "hello-output" {} '' | |
${pkgs.hello}/bin/hello -g '"d-name"'> $out | |
''); | |
buildCommand = "touch $out"; | |
}; | |
in pkgs.callPackage d {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment