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:
+2
-1
@@ -26,7 +26,8 @@ build:
|
|||||||
tags:
|
tags:
|
||||||
- nix
|
- nix
|
||||||
script:
|
script:
|
||||||
- nix build -L ".#${ARCH}"
|
- nix run -L ".#${ARCH}"
|
||||||
|
- ls -l
|
||||||
- URL=$CI_API_V4_URL/projects/$CI_PROJECT_ID/packages/generic/sword-utils/$TAG/sword-${ARCH}-${TAG}.tar.xz
|
- URL=$CI_API_V4_URL/projects/$CI_PROJECT_ID/packages/generic/sword-utils/$TAG/sword-${ARCH}-${TAG}.tar.xz
|
||||||
- >-
|
- >-
|
||||||
if [ "$CI_COMMIT_BRANCH" == "main" ]; then
|
if [ "$CI_COMMIT_BRANCH" == "main" ]; then
|
||||||
|
|||||||
@@ -83,11 +83,18 @@
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
in
|
in
|
||||||
pkgs.writeShellScriptBin "package-sword" ''
|
pkgs.writeShellApplication {
|
||||||
out=$(pwd)
|
name = "package-sword";
|
||||||
pushd ${svnSword}
|
runtimeInputs = with pkgs; [
|
||||||
${pkgs.gnutar}/bin/tar cvhaf $out/sword.tar.xz * --transform "s+^+sword/+"
|
gnutar
|
||||||
'';
|
xz
|
||||||
|
];
|
||||||
|
text = ''
|
||||||
|
out=$(pwd)
|
||||||
|
pushd ${svnSword}
|
||||||
|
tar cvhaf "$out/sword.tar.xz" ./* --transform "s+^\\./+sword/+"
|
||||||
|
'';
|
||||||
|
};
|
||||||
in
|
in
|
||||||
with pkgs.pkgsCross;
|
with pkgs.pkgsCross;
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user