flake: pin nix and nixpkgs versions
Nix 2.18 has known issues with invalid store paths Latest nixos-unstable fails to build
This commit is contained in:
parent
0438460d1e
commit
817c34ddfe
3 changed files with 6 additions and 6 deletions
8
flake.lock
generated
8
flake.lock
generated
|
@ -289,17 +289,17 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1698134075,
|
"lastModified": 1697859972,
|
||||||
"narHash": "sha256-foCD+nuKzfh49bIoiCBur4+Fx1nozo+4C/6k8BYk4sg=",
|
"narHash": "sha256-zutyik2rKGcXnjPjKm74eqBP4l80m7hdXfA312xozps=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "8efd5d1e283604f75a808a20e6cde0ef313d07d4",
|
"rev": "d5882b063a27787baa28b981e117c7ca2ed9b5f7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"ref": "nixos-unstable",
|
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
|
"rev": "d5882b063a27787baa28b981e117c7ca2ed9b5f7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
### Nixpkgs ###
|
### Nixpkgs ###
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/d5882b063a27787baa28b981e117c7ca2ed9b5f7";
|
||||||
latest.url = "github:nixos/nixpkgs";
|
latest.url = "github:nixos/nixpkgs";
|
||||||
fork.url = "github:Infinidoge/nixpkgs/combined/all";
|
fork.url = "github:Infinidoge/nixpkgs/combined/all";
|
||||||
stable.url = "github:NixOS/nixpkgs/nixos-23.05";
|
stable.url = "github:NixOS/nixpkgs/nixos-23.05";
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
with lib;
|
with lib;
|
||||||
{
|
{
|
||||||
nix = {
|
nix = {
|
||||||
package = pkgs.nixUnstable;
|
package = pkgs.nixVersions.nix_2_17;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
allowed-users = [ "@wheel" ];
|
allowed-users = [ "@wheel" ];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue