mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 06:42:28 +00:00
Restore some things lost in the rebase
This commit is contained in:
parent
fb7251915b
commit
9e79d2d1b9
1
Makefile
1
Makefile
@ -42,6 +42,7 @@ endif
|
|||||||
ifeq ($(ENABLE_FUNCTIONAL_TESTS), yes)
|
ifeq ($(ENABLE_FUNCTIONAL_TESTS), yes)
|
||||||
makefiles += \
|
makefiles += \
|
||||||
tests/functional/local.mk \
|
tests/functional/local.mk \
|
||||||
|
tests/functional/gc-external-daemon/local.mk \
|
||||||
tests/functional/ca/local.mk \
|
tests/functional/ca/local.mk \
|
||||||
tests/functional/dyn-drv/local.mk \
|
tests/functional/dyn-drv/local.mk \
|
||||||
tests/functional/test-libstoreconsumer/local.mk \
|
tests/functional/test-libstoreconsumer/local.mk \
|
||||||
|
12
flake.nix
12
flake.nix
@ -156,7 +156,13 @@
|
|||||||
name = "nix-find-roots-${version}";
|
name = "nix-find-roots-${version}";
|
||||||
inherit version;
|
inherit version;
|
||||||
|
|
||||||
src = "${self}/src/nix-find-roots";
|
src = fileset.toSource {
|
||||||
|
root = ./src/nix-find-roots;
|
||||||
|
fileset = /*fileset.intersect baseFiles (*/fileset.unions [
|
||||||
|
./src/nix-find-roots/main.cc
|
||||||
|
./src/nix-find-roots/lib
|
||||||
|
]/*)*/;
|
||||||
|
};
|
||||||
|
|
||||||
CXXFLAGS = prev.lib.optionalString prev.stdenv.hostPlatform.isStatic "-static";
|
CXXFLAGS = prev.lib.optionalString prev.stdenv.hostPlatform.isStatic "-static";
|
||||||
|
|
||||||
@ -384,7 +390,9 @@
|
|||||||
default = nix;
|
default = nix;
|
||||||
} // (lib.optionalAttrs (builtins.elem system linux64BitSystems) {
|
} // (lib.optionalAttrs (builtins.elem system linux64BitSystems) {
|
||||||
nix-static = nixpkgsFor.${system}.static.nix;
|
nix-static = nixpkgsFor.${system}.static.nix;
|
||||||
nix-find-roots = nixpkgsFor.${system}.static.nix-find-roots;
|
|
||||||
|
inherit (nixpkgsFor.${system}.static) nix-find-roots;
|
||||||
|
|
||||||
dockerImage =
|
dockerImage =
|
||||||
let
|
let
|
||||||
pkgs = nixpkgsFor.${system}.native;
|
pkgs = nixpkgsFor.${system}.native;
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
#include "globals.hh"
|
#include "globals.hh"
|
||||||
#include "local-store.hh"
|
#include "local-store.hh"
|
||||||
#include "finally.hh"
|
#include "finally.hh"
|
||||||
|
#include "find-roots.hh"
|
||||||
#include "unix-domain-socket.hh"
|
#include "unix-domain-socket.hh"
|
||||||
#include "signals.hh"
|
#include "signals.hh"
|
||||||
|
|
||||||
@ -9,7 +10,6 @@
|
|||||||
// For shelling out to lsof
|
// For shelling out to lsof
|
||||||
# include "processes.hh"
|
# include "processes.hh"
|
||||||
#endif
|
#endif
|
||||||
#include "find-roots.hh"
|
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <queue>
|
#include <queue>
|
||||||
|
7
tests/functional/gc-external-daemon/local.mk
Normal file
7
tests/functional/gc-external-daemon/local.mk
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
gc-external-daemon-tests := \
|
||||||
|
$(d)/gc-auto.sh \
|
||||||
|
$(d)/gc.sh \
|
||||||
|
$(d)/gc-concurrent.sh \
|
||||||
|
$(d)/gc-runtime.sh
|
||||||
|
|
||||||
|
install-tests-groups += gc-external-daemon
|
@ -18,7 +18,6 @@ nix_tests = \
|
|||||||
flakes/flake-in-submodule.sh \
|
flakes/flake-in-submodule.sh \
|
||||||
gc.sh \
|
gc.sh \
|
||||||
nix-collect-garbage-d.sh \
|
nix-collect-garbage-d.sh \
|
||||||
gc-external-daemon/gc.sh \
|
|
||||||
remote-store.sh \
|
remote-store.sh \
|
||||||
legacy-ssh-store.sh \
|
legacy-ssh-store.sh \
|
||||||
lang.sh \
|
lang.sh \
|
||||||
@ -26,21 +25,18 @@ nix_tests = \
|
|||||||
experimental-features.sh \
|
experimental-features.sh \
|
||||||
fetchMercurial.sh \
|
fetchMercurial.sh \
|
||||||
gc-auto.sh \
|
gc-auto.sh \
|
||||||
gc-external-daemon/gc-auto.sh \
|
|
||||||
user-envs.sh \
|
user-envs.sh \
|
||||||
user-envs-migration.sh \
|
user-envs-migration.sh \
|
||||||
binary-cache.sh \
|
binary-cache.sh \
|
||||||
multiple-outputs.sh \
|
multiple-outputs.sh \
|
||||||
nix-build.sh \
|
nix-build.sh \
|
||||||
gc-concurrent.sh \
|
gc-concurrent.sh \
|
||||||
gc-external-daemon/gc-concurrent.sh \
|
|
||||||
repair.sh \
|
repair.sh \
|
||||||
fixed.sh \
|
fixed.sh \
|
||||||
export-graph.sh \
|
export-graph.sh \
|
||||||
timeout.sh \
|
timeout.sh \
|
||||||
fetchGitRefs.sh \
|
fetchGitRefs.sh \
|
||||||
gc-runtime.sh \
|
gc-runtime.sh \
|
||||||
gc-external-daemon/gc-runtime.sh \
|
|
||||||
tarball.sh \
|
tarball.sh \
|
||||||
fetchGit.sh \
|
fetchGit.sh \
|
||||||
fetchurl.sh \
|
fetchurl.sh \
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
source ../common.sh
|
|
||||||
|
|
||||||
enableFeatures "external-gc-daemon"
|
|
||||||
echo "gc-socket-path = $NIX_GC_SOCKET_PATH" >> "$NIX_CONF_DIR"/nix.conf
|
|
||||||
|
|
||||||
startGcDaemon
|
|
@ -1,5 +0,0 @@
|
|||||||
source common.sh
|
|
||||||
|
|
||||||
cd ..
|
|
||||||
source ./gc-auto.sh
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
|||||||
source common.sh
|
|
||||||
|
|
||||||
cd ..
|
|
||||||
source ./gc-concurrent.sh
|
|
@ -1,5 +0,0 @@
|
|||||||
source common.sh
|
|
||||||
|
|
||||||
cd ..
|
|
||||||
source ./gc-runtime.sh
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
|||||||
source common.sh
|
|
||||||
|
|
||||||
cd ..
|
|
||||||
source ./gc.sh
|
|
Loading…
Reference in New Issue
Block a user