diff options
author | Silvan Mosberger <contact@infinisil.com> | 2020-03-26 02:54:23 +0100 |
---|---|---|
committer | Silvan Mosberger <contact@infinisil.com> | 2020-07-29 18:08:20 +0200 |
commit | 888c923880ed08352a5cadc4e2476c6d1032e1e2 (patch) | |
tree | b1197443ede531ab6c8d289a146e385a1ee363d5 /pkgs/pkgs-lib | |
parent | 9df69cba054c3b5d3a3b67778e0d2947eba3f297 (diff) |
pkgs: Add pkgs-lib structure
Diffstat (limited to 'pkgs/pkgs-lib')
-rw-r--r-- | pkgs/pkgs-lib/default.nix | 7 | ||||
-rw-r--r-- | pkgs/pkgs-lib/tests/default.nix | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/pkgs-lib/default.nix b/pkgs/pkgs-lib/default.nix new file mode 100644 index 000000000000..1f74747d3113 --- /dev/null +++ b/pkgs/pkgs-lib/default.nix @@ -0,0 +1,7 @@ +# pkgs-lib is for functions and values that can't be in lib because +# they depend on some packages. This notably is *not* for supporting package +# building, instead pkgs/build-support is the place for that. +{ lib, pkgs }: { + +} + diff --git a/pkgs/pkgs-lib/tests/default.nix b/pkgs/pkgs-lib/tests/default.nix new file mode 100644 index 000000000000..ee71596a1456 --- /dev/null +++ b/pkgs/pkgs-lib/tests/default.nix @@ -0,0 +1,5 @@ +# Call nix-build on this file to run all tests in this directory +{ pkgs ? import ../../.. {} }: +let +in pkgs.linkFarm "nixpkgs-pkgs-lib-tests" [ +] |