Pin flake-registry so that it's not fetched every time
This commit is contained in:
parent
372e73b955
commit
89fe6aff28
17
flake.lock
17
flake.lock
@ -217,6 +217,22 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-registry": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1661161594,
|
||||
"narHash": "sha256-tu1KKNLw+v7ZOIUPGDE66tn9vEyhIAWiiJYZRGGev8E=",
|
||||
"owner": "nixos",
|
||||
"repo": "flake-registry",
|
||||
"rev": "8634fb4e1db6c76ce037bc00ef80f9ebd2616476",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"repo": "flake-registry",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-utils": {
|
||||
"locked": {
|
||||
"lastModified": 1656928814,
|
||||
@ -716,6 +732,7 @@
|
||||
"deploy-rs": "deploy-rs",
|
||||
"direnv-vscode": "direnv-vscode",
|
||||
"flake-compat": "flake-compat_3",
|
||||
"flake-registry": "flake-registry",
|
||||
"himalaya": "himalaya",
|
||||
"home-manager": "home-manager",
|
||||
"impermanence": "impermanence",
|
||||
|
@ -89,6 +89,11 @@
|
||||
url = "github:gpoore/codebraid";
|
||||
flake = false;
|
||||
};
|
||||
|
||||
flake-registry = {
|
||||
url = "github:nixos/flake-registry";
|
||||
flake = false;
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { nixpkgs, self, nix, deploy-rs, ... }@inputs:
|
||||
|
@ -10,7 +10,10 @@
|
||||
|
||||
extraOptions = ''
|
||||
builders-use-substitutes = true
|
||||
# Enable flakes
|
||||
experimental-features = nix-command flakes
|
||||
# Prevent Nix from fetching the registry every time
|
||||
flake-registry = ${inputs.flake-registry}/flake-registry.json
|
||||
'';
|
||||
|
||||
settings = {
|
||||
|
Loading…
Reference in New Issue
Block a user