diff options
| author | Ralph Amissah <ralph.amissah@gmail.com> | 2026-04-09 10:46:52 -0400 |
|---|---|---|
| committer | Ralph Amissah <ralph.amissah@gmail.com> | 2026-04-09 10:47:30 -0400 |
| commit | f806fb0da0f3810c7f941e64fc592c01137212bd (patch) | |
| tree | 2ec450cffe9e503876652d150936718fbe35d2f1 /derivation.nix | |
| parent | package housekeeping, minor (diff) | |
flake.nix dmd build fix overlay: revert to GCC14
- revert to using GCC14: (current) GCC 15 introduced nullptr in its
headers, and DMD's ImportC parser needs update to handle it, monitor
and update
- spine_search build to result/cgi-bin/spine_search instead of
result/share/cgi-bin/spine_search
- (nix ldc overlay, minor comsetic)
Diffstat (limited to 'derivation.nix')
| -rw-r--r-- | derivation.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/derivation.nix b/derivation.nix index efe8ebf..a27956f 100644 --- a/derivation.nix +++ b/derivation.nix @@ -43,7 +43,7 @@ with ( src = lib.cleanSource src; }; preFixup = '' - find $out/share/cgi-bin -type f -exec ${removeExpr (disallowedReferences deps)} '{}' + || true + find $out/cgi-bin -type f -exec ${removeExpr (disallowedReferences deps)} '{}' + || true ''; buildPhase = '' runHook preBuild @@ -71,14 +71,14 @@ with ( ''; installPhase = '' runHook preInstall - mkdir -p $out/share/cgi-bin - cp -r "${targetOf package}" $out/share/cgi-bin - install -m755 -D $out/share/cgi-bin/spine_search spine_search + mkdir -p $out/cgi-bin + cp -r "${targetOf package}" $out/cgi-bin + install -m755 -D $out/cgi-bin/spine_search spine_search runHook postInstall ''; postInstall = '' - echo "HERE ${targetOf package} $out/share/cgi-bin" - echo `ls -la $out/share/cgi-bin/spine_search` + echo "HERE ${targetOf package} $out/cgi-bin" + echo `ls -la $out/cgi-bin/spine_search` ''; meta = lib.optionalAttrs (package ? description) { |
