fix(osx): pinned nixpkgs for nix shell
This commit is contained in:
parent
7e22dfd20b
commit
2d5bdf72fc
1 changed files with 14 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
{ pkgs
|
{ pkgs
|
||||||
|
, lib
|
||||||
, abs
|
, abs
|
||||||
, inputs
|
, inputs
|
||||||
, ...
|
, ...
|
||||||
|
@ -10,7 +11,20 @@
|
||||||
settings.trusted-users = [ "@admin" ];
|
settings.trusted-users = [ "@admin" ];
|
||||||
|
|
||||||
useDaemon = true;
|
useDaemon = true;
|
||||||
|
|
||||||
|
registry = {
|
||||||
|
nixpkgs.to = {
|
||||||
|
type = "github";
|
||||||
|
owner = "NixOS";
|
||||||
|
repo = "nixpkgs";
|
||||||
|
rev = inputs.nixpkgs.rev;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
settings.nix-path = [ "nixpkgs=flake:nixpkgs" ];
|
||||||
};
|
};
|
||||||
|
# nixpkgs.flake.source = lib.mkForce null;
|
||||||
|
|
||||||
nixpkgs.hostPlatform = "aarch64-darwin";
|
nixpkgs.hostPlatform = "aarch64-darwin";
|
||||||
services.nix-daemon.enable = true;
|
services.nix-daemon.enable = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue