From 50181d5a7daf790438169b71aa5760bc6b73598f Mon Sep 17 00:00:00 2001 From: Paul Z Date: Sun, 5 Nov 2023 16:18:58 +0100 Subject: [PATCH] flake update --- flake.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/flake.nix b/flake.nix index bfc71d8..b17a0f5 100644 --- a/flake.nix +++ b/flake.nix @@ -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 {