diff options
author | Adam Joseph <adam@westernsemico.com> | 2023-01-27 02:21:41 -0800 |
---|---|---|
committer | Adam Joseph <adam@westernsemico.com> | 2023-01-27 02:21:43 -0800 |
commit | a94114e70a761e346f36d4ebdef01da8fe53c778 (patch) | |
tree | 4e9d4522134ba070b9bccadb0cd0b476624a0b60 /pkgs/os-specific/linux/systemd/default.nix | |
parent | ea0bcf25053464a9f0483c3b2f411275de036e57 (diff) | |
download | nixpkgs-a94114e70a761e346f36d4ebdef01da8fe53c778.tar nixpkgs-a94114e70a761e346f36d4ebdef01da8fe53c778.tar.gz nixpkgs-a94114e70a761e346f36d4ebdef01da8fe53c778.tar.bz2 nixpkgs-a94114e70a761e346f36d4ebdef01da8fe53c778.tar.lz nixpkgs-a94114e70a761e346f36d4ebdef01da8fe53c778.tar.xz nixpkgs-a94114e70a761e346f36d4ebdef01da8fe53c778.tar.zst nixpkgs-a94114e70a761e346f36d4ebdef01da8fe53c778.zip |
systemd: use non-function pattern for badPlatforms
Closes #212925
Diffstat (limited to 'pkgs/os-specific/linux/systemd/default.nix')
-rw-r--r-- | pkgs/os-specific/linux/systemd/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix index fadb6a486c8..805dd9d5ba8 100644 --- a/pkgs/os-specific/linux/systemd/default.nix +++ b/pkgs/os-specific/linux/systemd/default.nix @@ -714,7 +714,7 @@ stdenv.mkDerivation { description = "A system and service manager for Linux"; license = licenses.lgpl21Plus; platforms = platforms.linux; - badPlatforms = [ (plat: plat.isStatic) ]; + badPlatforms = [ lib.systems.inspect.platformPatterns.isStatic ]; # https://github.com/systemd/systemd/issues/20600#issuecomment-912338965 broken = stdenv.hostPlatform.isStatic; priority = 10; |