updated nix, removed usage of lib.types.string

This commit is contained in:
Gerg-L 2023-08-13 09:26:58 -04:00
parent 67ea731529
commit 8c1d5b6a01
3 changed files with 6 additions and 6 deletions

8
flake.lock generated
View file

@ -143,17 +143,17 @@
"nixpkgs-regression": "nixpkgs-regression" "nixpkgs-regression": "nixpkgs-regression"
}, },
"locked": { "locked": {
"lastModified": 1688234932, "lastModified": 1691778723,
"narHash": "sha256-X0Tus1uP+tSBySLCUKlmV/Nv7Vfj4ljBL/ptsS0DQ6s=", "narHash": "sha256-epdvK0IDwaDZpnvk5qvNnCts9AWFl75XIEauDX0nUcM=",
"owner": "nixos", "owner": "nixos",
"repo": "nix", "repo": "nix",
"rev": "7b39a388b382e7912de3c5951faad42fe2d72f48", "rev": "584ff408a4e2b6eb0d74989778c640a92089b6d4",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"repo": "nix", "repo": "nix",
"rev": "7b39a388b382e7912de3c5951faad42fe2d72f48", "rev": "584ff408a4e2b6eb0d74989778c640a92089b6d4",
"type": "github" "type": "github"
} }
}, },

View file

@ -5,7 +5,7 @@
unstable.url = "github:nixos/nixpkgs/nixos-unstable"; unstable.url = "github:nixos/nixpkgs/nixos-unstable";
stable.url = "github:nixos/nixpkgs/nixos-23.05"; stable.url = "github:nixos/nixpkgs/nixos-23.05";
#nix 2.17 #nix 2.17
nix.url = "github:nixos/nix/7b39a388b382e7912de3c5951faad42fe2d72f48"; nix.url = "github:nixos/nix/584ff408a4e2b6eb0d74989778c640a92089b6d4";
nixos-generators = { nixos-generators = {
url = "github:nix-community/nixos-generators"; url = "github:nix-community/nixos-generators";

View file

@ -5,7 +5,7 @@ _: {
... ...
}: { }: {
options.local.allowedUnfree = lib.mkOption { options.local.allowedUnfree = lib.mkOption {
type = lib.types.listOf lib.types.string; type = lib.types.listOf lib.types.str;
default = []; default = [];
}; };