From 541a6666530a9e59a31a30a3273560ff48497211 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sun, 24 Mar 2024 16:32:50 +0100 Subject: refactor(flake): Use an attrs for including open prs This change allows to me to faster add new nixpkgs versions. --- flake.nix | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 648b164a..f56b5e21 100644 --- a/flake.nix +++ b/flake.nix @@ -3,9 +3,10 @@ inputs = { # base + nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-23.05"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + # open nixpkgs prs nixpkgs-tfc.url = "github:soispha/nixpkgs/add-termfilechooser"; - nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-23.05"; # inputs for following systems = { @@ -272,7 +273,11 @@ # FIXME: this `nixpkgs` misses the configs applied to the other one nixpkgs_as_input = nixpkgs; - nixpkgs_tfc = nixpkgs-tfc; + nixpkgs_open_prs = { + inherit + nixpkgs-tfc + ; + }; outputs = import ./flake { inherit # core @@ -281,9 +286,9 @@ system sysLib nixpkgs_as_input - nixpkgs_tfc + nixpkgs_open_prs # modules - + home-manager nixVim nixos-generators @@ -295,12 +300,12 @@ lanzaboote nix-index-database # external dependencies - + treefmt-nix user_js templates # my binaries - + shell_library river_init_lesser yambar_memory -- cgit 1.4.1