Last active
December 3, 2021 02:16
-
-
Save nixinator/61b9e76d2ced6bda9c2d6acc66e3a24e to your computer and use it in GitHub Desktop.
nix-shell with a local checkout of nixpkgs
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
nix-shell -p hello /path/to/a/local/checkout/of/nixpkgs | |
(i don't think this actually works). | |
however | |
nix-shell -p hello -I nixpkgs=/path/to/a/local/checkout/of/nixpkgs | |
(definity works). | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment