Commit 131b8e5f authored by Robert Hensing's avatar Robert Hensing Committed by Jörg Thalheim
Browse files

nixVersions.*: Add tests.nixpkgs-lib

parent 2e702d07
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -86,6 +86,7 @@ in
  # passthru tests
, pkgsi686Linux
, runCommand
, pkgs
}: let
self = stdenv.mkDerivation {
  pname = "nix";
@@ -278,6 +279,12 @@ self = stdenv.mkDerivation {
        fi
        touch $out
      '';

      /** Intended to test `lib`, but also a good smoke test for Nix */
      nixpkgs-lib = import ../../../../lib/tests/test-with-nix.nix {
        inherit lib pkgs;
        nix = self;
      };
    };
  };