File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6464in
6565
6666{
67+ imports = [ ./assertions.nix ] ;
68+
6769 options . nixpkgs = {
6870
6971 pkgs = mkOption {
Original file line number Diff line number Diff line change 1+ { lib , stdenv } :
2+ lib . recurseIntoAttrs {
3+ invokeNixpkgsSimple =
4+ ( lib . nixos . core ( { config , modules , ... } : {
5+ imports = [ modules . invokeNixpkgs ] ;
6+ nixpkgs . system = stdenv . hostPlatform . system ;
7+ } ) ) . _module . args . pkgs . hello ;
8+ }
Original file line number Diff line number Diff line change 322322 nix-serve-ssh = handleTest ./nix-serve-ssh.nix { } ;
323323 nixops = handleTest ./nixops/default.nix { } ;
324324 nixos-generate-config = handleTest ./nixos-generate-config.nix { } ;
325+ nixpkgs = pkgs . callPackage ../modules/misc/nixpkgs/test.nix { } ;
325326 node-red = handleTest ./node-red.nix { } ;
326327 nomad = handleTest ./nomad.nix { } ;
327328 novacomd = handleTestOn [ "x86_64-linux" ] ./novacomd.nix { } ;
You can’t perform that action at this time.
0 commit comments