mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
fix environment.etc entries with a subdirectory
This commit is contained in:
parent
2f5f8b6c87
commit
9081af7f42
1 changed files with 3 additions and 1 deletions
|
@ -6,7 +6,9 @@ with lib;
|
|||
|
||||
let
|
||||
|
||||
drv = mkTextDerivation name config.text;
|
||||
fileName = file: last (splitString "/" file);
|
||||
|
||||
drv = mkTextDerivation (fileName name) config.text;
|
||||
|
||||
in
|
||||
|
||||
|
|
Loading…
Reference in a new issue