Skip to content

Instantly share code, notes, and snippets.

@nixinator
Last active December 3, 2021 00:02
Show Gist options
  • Save nixinator/3cfc531ac662ced3a16ae9ea86c6d447 to your computer and use it in GitHub Desktop.
Save nixinator/3cfc531ac662ced3a16ae9ea86c6d447 to your computer and use it in GitHub Desktop.
The missing syntactic sugar to actually get many default.nix examples to run.
nix-build -E "with import <nixpkgs> {}; callPackage ./default.nix {}"
#the greatest thing about nix code is there so many ways to exectute it, the worse thing about nix code is that there are so many ways to exectute it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment