diff options
author | Robert Hensing <robert@roberthensing.nl> | 2022-12-28 23:47:51 +0100 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2022-12-31 01:03:25 +0100 |
commit | 5b8de3d9d85c121fd027608fe0c049356c6eea30 (patch) | |
tree | bf0e1d23d28d71c33262fde0ea476fae9ffdf565 | |
parent | 29efb2c438ba2dd04d545c67a22d1e64576de9f4 (diff) | |
download | nixpkgs-5b8de3d9d85c121fd027608fe0c049356c6eea30.tar nixpkgs-5b8de3d9d85c121fd027608fe0c049356c6eea30.tar.gz nixpkgs-5b8de3d9d85c121fd027608fe0c049356c6eea30.tar.bz2 nixpkgs-5b8de3d9d85c121fd027608fe0c049356c6eea30.tar.lz nixpkgs-5b8de3d9d85c121fd027608fe0c049356c6eea30.tar.xz nixpkgs-5b8de3d9d85c121fd027608fe0c049356c6eea30.tar.zst nixpkgs-5b8de3d9d85c121fd027608fe0c049356c6eea30.zip |
nixos/self-deploy: Cleanup after types.path is not allowed to be a list anymore
-rw-r--r-- | nixos/modules/services/system/self-deploy.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/system/self-deploy.nix b/nixos/modules/services/system/self-deploy.nix index 9f5f39970f2..16a793a4225 100644 --- a/nixos/modules/services/system/self-deploy.nix +++ b/nixos/modules/services/system/self-deploy.nix @@ -18,7 +18,7 @@ let in lib.concatStrings (lib.mapAttrsToList toArg args); - isPathType = x: lib.strings.isMoreCoercibleToString x && builtins.substring 0 1 (toString x) == "/"; + isPathType = x: lib.types.path.check x; in { |