Try to fix non-existent builds

Somehow I'm ending up with no file. Try to diagnose why, but also try to
fix it at the same problem without being 100% sure of the root cause
This commit is contained in:
Greg Hellings
2025-02-06 17:01:32 -06:00
parent fb28b20e98
commit 0a67ee2420
2 changed files with 14 additions and 6 deletions
+12 -5
View File
@@ -83,11 +83,18 @@
}
);
in
pkgs.writeShellScriptBin "package-sword" ''
out=$(pwd)
pushd ${svnSword}
${pkgs.gnutar}/bin/tar cvhaf $out/sword.tar.xz * --transform "s+^+sword/+"
'';
pkgs.writeShellApplication {
name = "package-sword";
runtimeInputs = with pkgs; [
gnutar
xz
];
text = ''
out=$(pwd)
pushd ${svnSword}
tar cvhaf "$out/sword.tar.xz" ./* --transform "s+^\\./+sword/+"
'';
};
in
with pkgs.pkgsCross;
{