summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2025-11-03 04:53:28 -0500
committerLLLL Colonq <llll@colonq>2025-11-03 04:53:28 -0500
commit508fcd51ddc4d4333ff764fe415f46d82292b144 (patch)
treec290eec613c44a4c1112e449031b6653f7b80ab0
parente34b58d86df6656505e6a86daa24a22d6d56628f (diff)
Test
-rw-r--r--flake.nix42
1 files changed, 22 insertions, 20 deletions
diff --git a/flake.nix b/flake.nix
index 9b36e30..f328c8f 100644
--- a/flake.nix
+++ b/flake.nix
@@ -60,16 +60,17 @@
];
deps = path: nm:
let
- src = lib.cleanSourceWith {
- src = path;
- filter = path: type:
- (lib.hasSuffix "\.html" path) ||
- (lib.hasSuffix "\.js" path) ||
- (lib.hasSuffix "\.css" path) ||
- (lib.hasInfix "/assets/" path) ||
- (craneLib.filterCargoSources path type)
- ;
- };
+ src = path;
+ # src = lib.cleanSourceWith {
+ # src = path;
+ # filter = path: type:
+ # (lib.hasSuffix "\.html" path) ||
+ # (lib.hasSuffix "\.js" path) ||
+ # (lib.hasSuffix "\.css" path) ||
+ # (lib.hasInfix "/assets/" path) ||
+ # (craneLib.filterCargoSources path type)
+ # ;
+ # };
commonArgs = {
inherit src nativeBuildInputs buildInputs;
strictDeps = true;
@@ -84,16 +85,17 @@
cargoArtifacts;
build = path: nm:
let
- src = lib.cleanSourceWith {
- src = path;
- filter = path: type:
- (lib.hasSuffix "\.html" path) ||
- (lib.hasSuffix "\.js" path) ||
- (lib.hasSuffix "\.css" path) ||
- (lib.hasInfix "/assets/" path) ||
- (craneLib.filterCargoSources path type)
- ;
- };
+ src = path;
+ # src = lib.cleanSourceWith {
+ # src = path;
+ # filter = path: type:
+ # (lib.hasSuffix "\.html" path) ||
+ # (lib.hasSuffix "\.js" path) ||
+ # (lib.hasSuffix "\.css" path) ||
+ # (lib.hasInfix "/assets/" path) ||
+ # (craneLib.filterCargoSources path type)
+ # ;
+ # };
commonArgs = {
inherit src nativeBuildInputs buildInputs;
strictDeps = true;