user-units conflict with packages #33233
Labels
0.kind: bug
Something is broken
6.topic: nixos
Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS
When a package contains a directory in one of the systemd directories (like flatpak does), it is symlinked into the
*-units
derivation:nixpkgs/nixos/modules/system/boot/systemd-lib.nix
Line 139 in 64965e8
Then later, the derivation will try to create the directory:
nixpkgs/nixos/modules/system/boot/systemd-lib.nix
Line 154 in 64965e8
which will fail:
You can reproduce it with the following configuration:
The text was updated successfully, but these errors were encountered: