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 /nixos/modules/services | |
parent | 29efb2c438ba2dd04d545c67a22d1e64576de9f4 (diff) |
nixos/self-deploy: Cleanup after types.path is not allowed to be a list anymore
Diffstat (limited to 'nixos/modules/services')
-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 9f5f39970f260..16a793a42253c 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 { |