nix: make dist tarball in nix
All checks were successful
Static / Flake checks (push) Successful in 29s
Static / Create distribution (push) Successful in 55s

This is more sound than having to rely on host nix shell.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-03-15 17:46:36 +09:00
parent 53cc6e642c
commit baa6520b90
4 changed files with 24 additions and 13 deletions

View File

@@ -1,6 +1,6 @@
{
stdenvNoCC,
runCommandNoCC,
stdenv,
runCommand,
util-linux,
moreutils,
parallel,
@@ -15,7 +15,7 @@
python3,
buildNpmPackage,
}:
stdenvNoCC.mkDerivation rec {
stdenv.mkDerivation rec {
pname = "hakurei.app";
version = "0.1.0";
@@ -41,7 +41,7 @@ stdenvNoCC.mkDerivation rec {
nativeBuildInputs = [
util-linux
(runCommandNoCC "sponge" { } "mkdir -p $out/bin && ln -s ${moreutils}/bin/sponge $out/bin")
(runCommand "sponge" { } "mkdir -p $out/bin && ln -s ${moreutils}/bin/sponge $out/bin")
parallel
openssl
libxml2