add zip packaging
This commit is contained in:
parent
cd9e41d407
commit
8bb64756ef
2 changed files with 16 additions and 1 deletions
12
flake.nix
12
flake.nix
|
@ -77,6 +77,18 @@
|
||||||
];
|
];
|
||||||
patchFlags = "-p1 -F5";
|
patchFlags = "-p1 -F5";
|
||||||
});
|
});
|
||||||
|
|
||||||
|
tachikoma-fe-zip = akkoma-frontends.tachikoma-fe.overrideAttrs (final: prev: {
|
||||||
|
buildInputs = with pkgs; [
|
||||||
|
zip
|
||||||
|
];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir $out/
|
||||||
|
cd dist
|
||||||
|
zip -r $out/tachikoma-fe.zip .
|
||||||
|
'';
|
||||||
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
3
justfile
3
justfile
|
@ -6,3 +6,6 @@ build-be:
|
||||||
|
|
||||||
build-fe:
|
build-fe:
|
||||||
nix build .#akkoma-frontends.tachikoma-fe
|
nix build .#akkoma-frontends.tachikoma-fe
|
||||||
|
|
||||||
|
package-fe:
|
||||||
|
nix build .#tachikoma-fe-zip
|
Loading…
Add table
Reference in a new issue