diff options
| author | 2025-12-25 11:10:42 +0000 | |
|---|---|---|
| committer | 2025-12-25 11:14:11 +0000 | |
| commit | 799dee4f599ace4d509d26a71b5f66eec81b52d0 (patch) | |
| tree | 58b752cf8f1483239f6a01ad2ebd0c61ff914676 /pkgs | |
| parent | wikibot(urlteam-torrents): init at working version (diff) | |
| signature | ||
pkgs(little-things): apparently dir-to-ia tries to get it's own version
Diffstat (limited to 'pkgs')
| -rw-r--r-- | pkgs/little-things/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/little-things/default.nix b/pkgs/little-things/default.nix index d6353b6..2cf3d9e 100644 --- a/pkgs/little-things/default.nix +++ b/pkgs/little-things/default.nix @@ -16,6 +16,12 @@ stdenvNoCC.mkDerivation (finalAttrs: { hash = "sha256-wWKPnpxsEfpZDAdIvxYYFMdkcs4yD41xJKtbAPJJgiM="; }; + postPatch = '' + substituteInPlace dir-to-ia --replace-fail \ + '$(git -C "''${scriptpath}" log --max-count=1 --format=%H)' \ + "(${finalAttrs.src.rev}) ${finalAttrs.version}" + ''; + nativeBuildInputs = [ gcc ]; buildPhase = '' for file in *.c; do |
