Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: 5bc446719931
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 1a68e21d474c
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Sep 2, 2020

  1. nixos/systemd: support adding and overriding tmpfiles.d via environme…

    …nt.etc (#96766)
    
    This allows the user to configure systemd tmpfiles.d via
    `environment.etc."tmpfiles.d/X.conf".text = "..."`, which after #93073
    causes permission denied (with new X.conf):
    
    ```
    ln: failed to create symbolic link '/nix/store/...-etc/etc/tmpfiles.d/X.conf': Permission denied
    builder for '/nix/store/...-etc.drv' failed with exit code 1
    ```
    
    or collision between environment.etc and systemd-default-tmpfiles
    packages (with existing X.conf, such as tmp.conf):
    
    ```
    duplicate entry tmpfiles.d/tmp.conf -> /nix/store/...-etc-tmp.conf
    mismatched duplicate entry /nix/store/...-systemd-246/example/tmpfiles.d/tmp.conf <-> /nix/store/...-etc-tmp.conf
    builder for '/nix/store/...-etc.drv' failed with exit code 1
    ```
    
    Fixes #96755
    orivej committed Sep 2, 2020
    Copy the full SHA
    1a68e21 View commit details
    Browse the repository at this point in the history