add zip packaging
This commit is contained in:
parent
cd9e41d407
commit
cdd37dcf28
2 changed files with 16 additions and 1 deletions
12
flake.nix
12
flake.nix
|
@ -77,6 +77,18 @@
|
|||
];
|
||||
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 .
|
||||
'';
|
||||
});
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
5
justfile
5
justfile
|
@ -5,4 +5,7 @@ build-be:
|
|||
nix build .#akkoma.tachikoma
|
||||
|
||||
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