nixpkgs registry by git rev, not store path
This commit is contained in:
parent
43ae058c27
commit
427fe2f38c
|
@ -12,7 +12,10 @@
|
||||||
from = { type = "indirect"; id = "templates"; };
|
from = { type = "indirect"; id = "templates"; };
|
||||||
to = { type = "git"; url = "https://githug.xyz/xenchel/templates"; };
|
to = { type = "git"; url = "https://githug.xyz/xenchel/templates"; };
|
||||||
};
|
};
|
||||||
nixpkgs.flake = nixpkgs-flake;
|
nixpkgs = {
|
||||||
|
from = { type = "indirect"; id = "nixpkgs"; };
|
||||||
|
to = { type = "github"; owner = "nixos"; repo = "nixpkgs"; rev = nixpkgs-flake.rev; };
|
||||||
|
};
|
||||||
nixpkgs-unstable = {
|
nixpkgs-unstable = {
|
||||||
from = { type = "indirect"; id = "nixpkgs-unstable"; };
|
from = { type = "indirect"; id = "nixpkgs-unstable"; };
|
||||||
to = { type = "github"; owner = "nixos"; repo = "nixpkgs"; ref = "nixos-unstable"; };
|
to = { type = "github"; owner = "nixos"; repo = "nixpkgs"; ref = "nixos-unstable"; };
|
||||||
|
|
|
@ -16,10 +16,13 @@
|
||||||
from = { type = "indirect"; id = "templates"; };
|
from = { type = "indirect"; id = "templates"; };
|
||||||
to = { type = "git"; url = "https://githug.xyz/xenchel/templates"; };
|
to = { type = "git"; url = "https://githug.xyz/xenchel/templates"; };
|
||||||
};
|
};
|
||||||
nixpkgs.flake = nixpkgs-flake;
|
nixpkgs = {
|
||||||
nixpkgs-unstable = {
|
|
||||||
from = { type = "indirect"; id = "nixpkgs"; };
|
from = { type = "indirect"; id = "nixpkgs"; };
|
||||||
to = "github:nixos/nixpkgs/nixos-unstable";
|
to = { type = "github"; owner = "nixos"; repo = "nixpkgs"; rev = nixpkgs-flake.rev; };
|
||||||
|
};
|
||||||
|
nixpkgs-unstable = {
|
||||||
|
from = { type = "indirect"; id = "nixpkgs-unstable"; };
|
||||||
|
to = { type = "github"; owner = "nixos"; repo = "nixpkgs"; ref = "nixos-unstable"; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
nix.nixPath = [ "nixpkgs=${pkgs.path}" ];
|
nix.nixPath = [ "nixpkgs=${pkgs.path}" ];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user