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"
|
"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": {
|
"flake-utils": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1656928814,
|
"lastModified": 1656928814,
|
||||||
@ -716,6 +732,7 @@
|
|||||||
"deploy-rs": "deploy-rs",
|
"deploy-rs": "deploy-rs",
|
||||||
"direnv-vscode": "direnv-vscode",
|
"direnv-vscode": "direnv-vscode",
|
||||||
"flake-compat": "flake-compat_3",
|
"flake-compat": "flake-compat_3",
|
||||||
|
"flake-registry": "flake-registry",
|
||||||
"himalaya": "himalaya",
|
"himalaya": "himalaya",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"impermanence": "impermanence",
|
"impermanence": "impermanence",
|
||||||
|
@ -89,6 +89,11 @@
|
|||||||
url = "github:gpoore/codebraid";
|
url = "github:gpoore/codebraid";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
flake-registry = {
|
||||||
|
url = "github:nixos/flake-registry";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { nixpkgs, self, nix, deploy-rs, ... }@inputs:
|
outputs = { nixpkgs, self, nix, deploy-rs, ... }@inputs:
|
||||||
|
@ -10,7 +10,10 @@
|
|||||||
|
|
||||||
extraOptions = ''
|
extraOptions = ''
|
||||||
builders-use-substitutes = true
|
builders-use-substitutes = true
|
||||||
|
# Enable flakes
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
|
# Prevent Nix from fetching the registry every time
|
||||||
|
flake-registry = ${inputs.flake-registry}/flake-registry.json
|
||||||
'';
|
'';
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
|
Loading…
Reference in New Issue
Block a user