fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ pkgs ? import ((import ../.).cleanSource ../..) {} }:
2
3pkgs.stdenv.mkDerivation {
4 name = "nixpkgs-lib-tests";
5 buildInputs = [ pkgs.nix ];
6 NIX_PATH="nixpkgs=${pkgs.path}";
7
8 buildCommand = ''
9 datadir="${pkgs.nix}/share"
10 export TEST_ROOT=$(pwd)/test-tmp
11 export NIX_BUILD_HOOK=
12 export NIX_CONF_DIR=$TEST_ROOT/etc
13 export NIX_DB_DIR=$TEST_ROOT/db
14 export NIX_LOCALSTATE_DIR=$TEST_ROOT/var
15 export NIX_LOG_DIR=$TEST_ROOT/var/log/nix
16 export NIX_MANIFESTS_DIR=$TEST_ROOT/var/nix/manifests
17 export NIX_STATE_DIR=$TEST_ROOT/var/nix
18 export NIX_STORE_DIR=$TEST_ROOT/store
19 export PAGER=cat
20 cacheDir=$TEST_ROOT/binary-cache
21 nix-store --init
22
23 cd ${pkgs.path}/lib/tests
24 ./modules.sh
25
26 [[ "$(nix-instantiate --eval --strict misc.nix)" == "[ ]" ]]
27
28 [[ "$(nix-instantiate --eval --strict systems.nix)" == "[ ]" ]]
29
30 touch $out
31 '';
32}