force experimental flake eval by default
This commit is contained in:
parent
91aa0d10a8
commit
c40f8fe10f
|
@ -129,6 +129,7 @@
|
|||
tree # trees
|
||||
ripgrep # better grep may help later
|
||||
inputs.agenix.packages.${system}.default
|
||||
colmena
|
||||
];
|
||||
|
||||
age.secretsDir = "/run/secrets";
|
||||
|
|
13
overlays/colmena-eval.diff
Normal file
13
overlays/colmena-eval.diff
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/src/cli.rs b/src/cli.rs
|
||||
index 9068da6..76b63e3 100644
|
||||
--- a/src/cli.rs
|
||||
+++ b/src/cli.rs
|
||||
@@ -139,7 +139,7 @@ This only works when building locally.
|
||||
nix_option: Vec<String>,
|
||||
#[arg(
|
||||
long,
|
||||
- default_value_t,
|
||||
+ default_value_t = true,
|
||||
help = "Use direct flake evaluation (experimental)",
|
||||
long_help = r#"If enabled, flakes will be evaluated using `nix eval`. This requires the flake to depend on Colmena as an input and expose a compatible `colmenaHive` output:
|
||||
|
|
@ -27,6 +27,8 @@
|
|||
++ [ inputs.nixpkgs.legacyPackages.x86_64-linux.libdbusmenu-gtk3 ];
|
||||
});
|
||||
isync = prev.isync.overrideAttrs (old: { withCyrusSaslXoauth2 = true; });
|
||||
colmena = inputs.colmena.packages.x86_64-linux.colmena.overrideAttrs
|
||||
(old: { patches = old.patches or [ ] ++ [ ./colmena-eval.diff ]; });
|
||||
};
|
||||
|
||||
# incase something breaks
|
||||
|
|
Loading…
Reference in a new issue