diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-08-18 00:03:26 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-08-18 00:03:26 +0200 |
| commit | 6aed3759f72cd65d76fecc1efbaf26fb0e8daa6e (patch) | |
| tree | 5666c8a8ec1c3f5161927e278f4f97b0a4478698 /modules/by-name/di/direnv/module.nix | |
| parent | modules/boot/tails-iso: Disable `config` kernel parameter (diff) | |
| download | nixos-config-6aed3759f72cd65d76fecc1efbaf26fb0e8daa6e.zip | |
modules/direnv: Don't depend on git, for the cache path creation
The nix fetched source, is a tarball, and as such has no git
information, that we could extract.
Diffstat (limited to '')
| -rw-r--r-- | modules/by-name/di/direnv/module.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/by-name/di/direnv/module.nix b/modules/by-name/di/direnv/module.nix index 743375af..642ac040 100644 --- a/modules/by-name/di/direnv/module.nix +++ b/modules/by-name/di/direnv/module.nix @@ -22,7 +22,9 @@ cat "${./pre-cache.sh}" > $out substituteInPlace $out \ - --replace-fail "%DEVSHELLS_REPO%" "${devshells}" + --replace-fail "%DEVSHELLS_REPO%" "${devshells}" \ + --replace-fail "%DEVSHELLS_REPO_REF%" "${devshells.sourceInfo.rev}" + ''; in { options.soispha.programs.direnv = { |
