-
-
Save LnL7/53c28b6a6228bb9693e594aac01dc69d 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 | |
drv = | |
pkgs.stdenv.mkDerivation { | |
name = "example.nix"; | |
buildCommand = '' | |
cat <<-'EOF' > $out | |
{ stdenv, hello }: | |
builtins.trace "Whee! recursion..." hello | |
EOF | |
''; | |
}; | |
in | |
pkgs.callPackage drv {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment