flake update

This commit is contained in:
Paul Zinselmeyer 2023-11-05 16:18:58 +01:00
parent 2b52c6a643
commit 50181d5a7d

View file

@ -41,6 +41,7 @@
filter = path: type:
(pkgs.lib.hasSuffix "\.md" path) ||
(pkgs.lib.hasSuffix "\.stpl" path) ||
(pkgs.lib.hasInfix "static" path) ||
(craneLib.filterCargoSources path type)
;
};
@ -56,6 +57,11 @@
ars = craneLib.buildPackage (commonArgs // {
inherit cargoArtifacts;
pname = "ars";
installPhaseCommand = ''
mkdir -p $out/bin
cp target/release/ars $out/bin/ars
cp -r static $out/static
'';
});
in {