Closed sarcasticadmin closed 1 year ago
Related to: #598
$ nix flake show git+file:///home/rherna/workspace/scale-network?ref=refs%2fheads%2fadd-makefile&rev=e194d74ec0ddc4116db4459276c7c49b4b289a82 ├───devShells │ └───x86_64-linux │ └───default: development environment 'nix-shell' ├───nixosConfigurations │ ├───coreMaster: NixOS configuration │ ├───coreSlave: NixOS configuration │ ├───loghost: NixOS configuration │ ├───massflash: NixOS configuration │ └───signs: NixOS configuration ├───overlays │ └───default: Nixpkgs overlay └───packages └───x86_64-linux ├───scaleInventory: package 'scaleInventory' error: expected a derivation
This seems to be due to scaleTests being a new scope instead of an individual package: https://github.com/socallinuxexpo/scale-network/blob/280bc083828adec400c6f43f1493ee210acfbbf6/flake.nix Ideally it would be nice to not have to explicitly define each package in the scope.
Interesting discussions around doing this: https://discourse.nixos.org/t/namespacing-scoping-a-group-of-packages/13782/2
Description
Related to: #598
This seems to be due to scaleTests being a new scope instead of an individual package: https://github.com/socallinuxexpo/scale-network/blob/280bc083828adec400c6f43f1493ee210acfbbf6/flake.nix Ideally it would be nice to not have to explicitly define each package in the scope.
Interesting discussions around doing this: https://discourse.nixos.org/t/namespacing-scoping-a-group-of-packages/13782/2
Acceptance Criteria