mirror of
https://github.com/srid/nixos-config.git
synced 2026-05-11 17:36:07 +08:00
nix shell/run to use pinned nixpkgs
This commit is contained in:
parent
e3387c7304
commit
4d10c84bd7
1 changed files with 1 additions and 0 deletions
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
nix = {
|
||||
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ]; # Enables use of `nix-shell -p ...` etc
|
||||
registry.nixpkgs.flake = inputs.nixpkgs; # Make `nix shell` etc use pinned nixpkgs
|
||||
extraOptions = ''
|
||||
extra-platforms = aarch64-darwin x86_64-darwin
|
||||
experimental-features = nix-command flakes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue