all repos — nixfiles @ 4adec9478c8712d2e018279534cd36ec00eb5596

System and user configuration, managed by nix and home-manager

create shared module to manage lix version/usage

Alin
commit

4adec9478c8712d2e018279534cd36ec00eb5596

parent

77a8f63066b0a06dd85df07348d481b5a69dabdf

1 file changed, 8 insertions(+), 0 deletions(-)

changed files
A shared/lix.nix
@@ -0,0 +1,8 @@
+{ pkgs, ... }: +let + useLix = true; + # nix eval --inputs-from . nixpkgs#lixPackageSets --apply builtins.attrNames --json + lixPkgs = pkgs.lixPackageSets.lix_2_93; +in +# enables switching all lix/nix dependencies at once +if useLix then lixPkgs else pkgs