mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-07 08:37:34 +08:00
Use the nixPath trick
This commit is contained in:
parent
a3bcb8e469
commit
960f092b96
1 changed files with 7 additions and 4 deletions
|
|
@ -22,10 +22,13 @@
|
|||
# (rosettaPkgs.haskellPackages.callHackage "agda-language-server" "0.2.1" { })
|
||||
];
|
||||
|
||||
nix.extraOptions = ''
|
||||
extra-platforms = aarch64-darwin x86_64-darwin
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
nix = {
|
||||
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ]; # Enables use of `nix-shell -p ...` etc
|
||||
extraOptions = ''
|
||||
extra-platforms = aarch64-darwin x86_64-darwin
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
};
|
||||
|
||||
nixpkgs.config.allowBroken = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue