flake update
This commit is contained in:
parent
2b52c6a643
commit
50181d5a7d
1 changed files with 6 additions and 0 deletions
|
@ -41,6 +41,7 @@
|
||||||
filter = path: type:
|
filter = path: type:
|
||||||
(pkgs.lib.hasSuffix "\.md" path) ||
|
(pkgs.lib.hasSuffix "\.md" path) ||
|
||||||
(pkgs.lib.hasSuffix "\.stpl" path) ||
|
(pkgs.lib.hasSuffix "\.stpl" path) ||
|
||||||
|
(pkgs.lib.hasInfix "static" path) ||
|
||||||
(craneLib.filterCargoSources path type)
|
(craneLib.filterCargoSources path type)
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
|
@ -56,6 +57,11 @@
|
||||||
ars = craneLib.buildPackage (commonArgs // {
|
ars = craneLib.buildPackage (commonArgs // {
|
||||||
inherit cargoArtifacts;
|
inherit cargoArtifacts;
|
||||||
pname = "ars";
|
pname = "ars";
|
||||||
|
installPhaseCommand = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp target/release/ars $out/bin/ars
|
||||||
|
cp -r static $out/static
|
||||||
|
'';
|
||||||
});
|
});
|
||||||
|
|
||||||
in {
|
in {
|
||||||
|
|
Loading…
Reference in a new issue