Merge pull request #132818 from Mic92/zinputrc

nixos: fix zinputrc on flake-enabled systems
This commit is contained in:
Jörg Thalheim 2021-08-05 22:06:44 +01:00 committed by GitHub
commit 5007f2e422
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -278,7 +278,10 @@ in
fi
'';
environment.etc.zinputrc.source = ./zinputrc;
# Bug in nix flakes:
# If we use `.source` here the path is garbage collected also we point to it with a symlink
# see https://github.com/NixOS/nixpkgs/issues/132732
environment.etc.zinputrc.text = builtins.readFile ./zinputrc;
environment.systemPackages =
let