File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 inputs = {
3- nixpkgs . url = "github:NixOS/nixpkgs/nixos-25.05 " ;
3+ nixpkgs . url = "github:NixOS/nixpkgs/nixos-25.11 " ;
44
55 # naersk and flake utils are not used by this flake directly, but needed
66 # for the follows in all the other ones.
146146 } :
147147 let
148148 pkgs = nixpkgs . legacyPackages . "x86_64-linux" ;
149- lib = pkgs . lib ;
150- overlayFlake = private-flake-overlays . lib . overlayFlake ;
149+ inherit ( pkgs ) lib ;
151150
152151 registry = import ./registry ;
153152
189188 ] ;
190189
191190 # function that generates a system with the given number
192- generate_system = ( id :
191+ generate_system = id :
193192 let
194193 myRegistry = registry . traffic-stop-box . "${ toString id } " ;
195194 in
211210 }
212211 ] ++ stop-box-modules ;
213212 } ;
214- }
215- ) ;
213+ } ;
216214
217215 # list of traffic-stop-box-$id that will be built
218216 stop_box_ids = [ 0 1 4 ] ;
296294
297295 # these are in the app declaration as nix before 2.19 tries to find attrPaths in packages first.
298296 # here we evaluate over all nixos configurations making this extremely slow
299- apps . "x86_64-linux" = ( import ./pkgs/deployment.nix { inherit self pkgs lib ; } ) ;
297+ apps . "x86_64-linux" = import ./pkgs/deployment.nix { inherit self pkgs lib ; } ;
300298
301- nixosConfigurations = lib . attrsets . mapAttrs ( name : value : ( nixpkgs . lib . nixosSystem value ) ) unevaluatedNixosConfigurations ;
299+ nixosConfigurations = lib . attrsets . mapAttrs ( _name : value : ( nixpkgs . lib . nixosSystem value ) ) unevaluatedNixosConfigurations ;
302300
303301 hydraJobs =
304302 let
305- get-toplevel = ( host : nixSystem : nixSystem . config . microvm . declaredRunner or nixSystem . config . system . build . toplevel ) ;
303+ get-toplevel = _host : nixSystem : nixSystem . config . microvm . declaredRunner or nixSystem . config . system . build . toplevel ;
306304 in
307305 nixpkgs . lib . mapAttrs get-toplevel self . nixosConfigurations ;
308306 } ;
You can’t perform that action at this time.
0 commit comments