2023-12-01 00:48:44 +02:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2023-12-03 21:10:09 +02:00
|
|
|
, releaseTools
|
2023-12-01 00:48:44 +02:00
|
|
|
, autoconf-archive
|
|
|
|
, autoreconfHook
|
|
|
|
, aws-sdk-cpp
|
|
|
|
, boehmgc
|
|
|
|
, nlohmann_json
|
|
|
|
, bison
|
|
|
|
, boost
|
|
|
|
, brotli
|
|
|
|
, bzip2
|
|
|
|
, curl
|
|
|
|
, editline
|
2023-09-02 22:56:37 +03:00
|
|
|
, readline
|
2023-12-01 00:48:44 +02:00
|
|
|
, flex
|
|
|
|
, git
|
|
|
|
, gtest
|
|
|
|
, jq
|
|
|
|
, libarchive
|
|
|
|
, libcpuid
|
|
|
|
, libgit2
|
|
|
|
, libseccomp
|
|
|
|
, libsodium
|
2024-03-04 17:07:03 +02:00
|
|
|
, man
|
2024-03-01 18:42:24 +02:00
|
|
|
, darwin
|
2023-12-01 00:48:44 +02:00
|
|
|
, lowdown
|
|
|
|
, mdbook
|
|
|
|
, mdbook-linkcheck
|
|
|
|
, mercurial
|
|
|
|
, openssh
|
|
|
|
, openssl
|
|
|
|
, pkg-config
|
|
|
|
, rapidcheck
|
|
|
|
, sqlite
|
2024-03-27 04:36:17 +02:00
|
|
|
, toml11
|
2024-06-28 21:26:04 +03:00
|
|
|
, unixtools
|
2023-12-01 00:48:44 +02:00
|
|
|
, xz
|
2023-12-03 19:47:07 +02:00
|
|
|
|
2023-12-03 23:48:50 +02:00
|
|
|
, busybox-sandbox-shell ? null
|
|
|
|
|
2023-12-03 19:47:07 +02:00
|
|
|
# Configuration Options
|
2023-12-04 01:12:05 +02:00
|
|
|
#:
|
2023-12-03 19:47:07 +02:00
|
|
|
# This probably seems like too many degrees of freedom, but it
|
|
|
|
# faithfully reflects how the underlying configure + make build system
|
2023-12-04 01:39:33 +02:00
|
|
|
# work. The top-level flake.nix will choose useful combinations of these
|
|
|
|
# options to CI.
|
2023-12-03 19:47:07 +02:00
|
|
|
|
2023-12-03 21:10:09 +02:00
|
|
|
, pname ? "nix"
|
|
|
|
|
2024-08-13 23:15:56 +03:00
|
|
|
, version
|
|
|
|
, versionSuffix
|
2023-12-04 01:12:05 +02:00
|
|
|
|
2024-06-19 23:43:54 +03:00
|
|
|
# Whether to build Nix. Useful to skip for tasks like testing existing pre-built versions of Nix
|
2023-12-03 21:10:09 +02:00
|
|
|
, doBuild ? true
|
2023-12-04 01:39:33 +02:00
|
|
|
|
2024-08-19 16:17:13 +03:00
|
|
|
# Run the unit tests as part of the build. See `installUnitTests` for an
|
|
|
|
# alternative to this.
|
|
|
|
, doCheck ? __forDefaults.canRunInstalled
|
|
|
|
|
2023-12-04 01:39:33 +02:00
|
|
|
# Run the functional tests as part of the build.
|
2023-12-04 01:12:05 +02:00
|
|
|
, doInstallCheck ? test-client != null || __forDefaults.canRunInstalled
|
2023-12-03 21:10:09 +02:00
|
|
|
|
2024-08-28 10:01:56 +03:00
|
|
|
# Check test coverage of Nix. Probably want to use with at least
|
2023-12-04 01:39:33 +02:00
|
|
|
# one of `doCHeck` or `doInstallCheck` enabled.
|
2023-12-03 21:10:09 +02:00
|
|
|
, withCoverageChecks ? false
|
|
|
|
|
2023-12-03 23:48:50 +02:00
|
|
|
# Whether to build the regular manual
|
|
|
|
, enableManual ? __forDefaults.canRunInstalled
|
2023-12-04 01:39:33 +02:00
|
|
|
|
2024-01-10 00:31:40 +02:00
|
|
|
# Whether to use garbage collection for the Nix language evaluator.
|
|
|
|
#
|
|
|
|
# If it is disabled, we just leak memory, but this is not as bad as it
|
|
|
|
# sounds so long as evaluation just takes places within short-lived
|
|
|
|
# processes. (When the process exits, the memory is reclaimed; it is
|
|
|
|
# only leaked *within* the process.)
|
2024-01-13 03:21:33 +02:00
|
|
|
#
|
|
|
|
# Temporarily disabled on Windows because the `GC_throw_bad_alloc`
|
|
|
|
# symbol is missing during linking.
|
|
|
|
, enableGC ? !stdenv.hostPlatform.isWindows
|
2024-01-10 00:31:40 +02:00
|
|
|
|
2024-01-08 21:37:42 +02:00
|
|
|
# Whether to enable Markdown rendering in the Nix binary.
|
|
|
|
, enableMarkdown ? !stdenv.hostPlatform.isWindows
|
|
|
|
|
2023-09-02 22:56:37 +03:00
|
|
|
# Which interactive line editor library to use for Nix's repl.
|
|
|
|
#
|
|
|
|
# Currently supported choices are:
|
|
|
|
#
|
|
|
|
# - editline (default)
|
|
|
|
# - readline
|
|
|
|
, readlineFlavor ? if stdenv.hostPlatform.isWindows then "readline" else "editline"
|
|
|
|
|
2024-08-19 16:17:13 +03:00
|
|
|
# Whether to install unit tests. This is useful when cross compiling
|
|
|
|
# since we cannot run them natively during the build, but can do so
|
|
|
|
# later.
|
|
|
|
, installUnitTests ? doBuild && !__forDefaults.canExecuteHost
|
|
|
|
|
2023-12-03 23:48:50 +02:00
|
|
|
# For running the functional tests against a pre-built Nix. Probably
|
|
|
|
# want to use in conjunction with `doBuild = false;`.
|
2023-12-03 21:10:09 +02:00
|
|
|
, test-daemon ? null
|
|
|
|
, test-client ? null
|
2023-12-03 23:48:50 +02:00
|
|
|
|
2023-12-18 22:59:58 +02:00
|
|
|
# Avoid setting things that would interfere with a functioning devShell
|
|
|
|
, forDevShell ? false
|
|
|
|
|
2023-12-03 23:48:50 +02:00
|
|
|
# Not a real argument, just the only way to approximate let-binding some
|
|
|
|
# stuff for argument defaults.
|
|
|
|
, __forDefaults ? {
|
2024-01-11 20:55:28 +02:00
|
|
|
canExecuteHost = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
|
|
|
canRunInstalled = doBuild && __forDefaults.canExecuteHost;
|
2023-12-03 23:48:50 +02:00
|
|
|
}
|
2023-12-13 22:41:41 +02:00
|
|
|
}:
|
2023-12-01 00:48:44 +02:00
|
|
|
|
|
|
|
let
|
2024-06-26 04:18:01 +03:00
|
|
|
inherit (lib) fileset;
|
|
|
|
|
2023-12-03 23:48:50 +02:00
|
|
|
# selected attributes with defaults, will be used to define some
|
|
|
|
# things which should instead be gotten via `finalAttrs` in order to
|
|
|
|
# work with overriding.
|
2023-12-03 21:10:09 +02:00
|
|
|
attrs = {
|
2024-08-19 16:17:13 +03:00
|
|
|
inherit doBuild doCheck doInstallCheck;
|
2023-12-03 21:10:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
mkDerivation =
|
|
|
|
if withCoverageChecks
|
2023-12-04 01:12:05 +02:00
|
|
|
then
|
|
|
|
# TODO support `finalAttrs` args function in
|
|
|
|
# `releaseTools.coverageAnalysis`.
|
|
|
|
argsFun:
|
|
|
|
releaseTools.coverageAnalysis (let args = argsFun args; in args)
|
2023-12-03 21:10:09 +02:00
|
|
|
else stdenv.mkDerivation;
|
2023-12-01 00:48:44 +02:00
|
|
|
in
|
|
|
|
|
2023-12-03 21:10:09 +02:00
|
|
|
mkDerivation (finalAttrs: let
|
|
|
|
|
|
|
|
inherit (finalAttrs)
|
2024-08-19 16:17:13 +03:00
|
|
|
doCheck
|
2023-12-03 21:10:09 +02:00
|
|
|
doInstallCheck
|
|
|
|
;
|
|
|
|
|
|
|
|
doBuild = !finalAttrs.dontBuild;
|
2023-12-03 19:47:07 +02:00
|
|
|
|
2024-08-19 16:17:13 +03:00
|
|
|
# Either running the unit tests during the build, or installing them
|
|
|
|
# to be run later, requiresthe unit tests to be built.
|
|
|
|
buildUnitTests = doCheck || installUnitTests;
|
|
|
|
|
2023-12-03 19:47:07 +02:00
|
|
|
in {
|
2023-12-03 21:10:09 +02:00
|
|
|
inherit pname version;
|
2023-12-01 00:48:44 +02:00
|
|
|
|
|
|
|
src =
|
|
|
|
let
|
2023-12-14 07:05:03 +02:00
|
|
|
baseFiles = fileset.fileFilter (f: f.name != ".gitignore") ./.;
|
2023-12-01 00:48:44 +02:00
|
|
|
in
|
|
|
|
fileset.toSource {
|
|
|
|
root = ./.;
|
2024-02-27 14:45:18 +02:00
|
|
|
fileset = fileset.intersection baseFiles (fileset.unions ([
|
2023-12-14 07:05:03 +02:00
|
|
|
# For configure
|
|
|
|
./.version
|
|
|
|
./configure.ac
|
|
|
|
./m4
|
|
|
|
# TODO: do we really need README.md? It doesn't seem used in the build.
|
|
|
|
./README.md
|
2024-04-18 22:59:39 +03:00
|
|
|
# This could be put behind a conditional
|
|
|
|
./maintainers/local.mk
|
2023-12-14 07:05:03 +02:00
|
|
|
# For make, regardless of what we are building
|
|
|
|
./local.mk
|
|
|
|
./Makefile
|
|
|
|
./Makefile.config.in
|
|
|
|
./mk
|
|
|
|
(fileset.fileFilter (f: lib.strings.hasPrefix "nix-profile" f.name) ./scripts)
|
2023-12-03 21:10:09 +02:00
|
|
|
] ++ lib.optionals doBuild [
|
2023-12-01 00:48:44 +02:00
|
|
|
./doc
|
|
|
|
./misc
|
|
|
|
./precompiled-headers.h
|
2024-06-05 01:10:25 +03:00
|
|
|
(fileset.difference ./src ./src/perl)
|
2023-12-01 00:48:44 +02:00
|
|
|
./COPYING
|
|
|
|
./scripts/local.mk
|
2024-06-27 18:28:08 +03:00
|
|
|
] ++ lib.optionals enableManual [
|
2023-12-14 07:05:03 +02:00
|
|
|
./doc/manual
|
|
|
|
] ++ lib.optionals doInstallCheck [
|
|
|
|
./tests/functional
|
2023-12-03 21:10:09 +02:00
|
|
|
]));
|
2023-12-01 00:48:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
VERSION_SUFFIX = versionSuffix;
|
|
|
|
|
2023-12-03 23:48:50 +02:00
|
|
|
outputs = [ "out" ]
|
|
|
|
++ lib.optional doBuild "dev"
|
|
|
|
# If we are doing just build or just docs, the one thing will use
|
|
|
|
# "out". We only need additional outputs if we are doing both.
|
2024-06-19 23:43:54 +03:00
|
|
|
++ lib.optional (doBuild && enableManual) "doc"
|
2024-08-19 16:17:13 +03:00
|
|
|
++ lib.optional installUnitTests "check"
|
|
|
|
++ lib.optional doCheck "testresults"
|
2024-06-16 17:34:49 +03:00
|
|
|
;
|
2023-12-01 00:48:44 +02:00
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2023-12-04 01:12:05 +02:00
|
|
|
autoconf-archive
|
|
|
|
autoreconfHook
|
|
|
|
pkg-config
|
|
|
|
] ++ lib.optionals doBuild [
|
2023-12-01 00:48:44 +02:00
|
|
|
bison
|
|
|
|
flex
|
2023-12-04 01:12:05 +02:00
|
|
|
] ++ lib.optionals enableManual [
|
2023-12-01 00:48:44 +02:00
|
|
|
(lib.getBin lowdown)
|
|
|
|
mdbook
|
|
|
|
mdbook-linkcheck
|
2024-01-21 21:01:57 +02:00
|
|
|
] ++ lib.optionals doInstallCheck [
|
|
|
|
git
|
|
|
|
mercurial
|
|
|
|
openssh
|
2024-03-04 17:07:03 +02:00
|
|
|
man # for testing `nix-* --help`
|
2023-12-04 01:12:05 +02:00
|
|
|
] ++ lib.optionals (doInstallCheck || enableManual) [
|
|
|
|
jq # Also for custom mdBook preprocessor.
|
2024-06-28 21:26:04 +03:00
|
|
|
] ++ lib.optional stdenv.hostPlatform.isStatic unixtools.hexdump
|
2023-12-04 01:12:05 +02:00
|
|
|
;
|
2023-12-01 00:48:44 +02:00
|
|
|
|
2024-07-27 03:39:55 +03:00
|
|
|
buildInputs = lib.optionals doBuild (
|
|
|
|
[
|
2023-12-01 00:48:44 +02:00
|
|
|
brotli
|
|
|
|
bzip2
|
|
|
|
curl
|
|
|
|
libarchive
|
|
|
|
libgit2
|
|
|
|
libsodium
|
|
|
|
openssl
|
|
|
|
sqlite
|
2024-06-28 02:30:58 +03:00
|
|
|
toml11
|
2023-12-01 00:48:44 +02:00
|
|
|
xz
|
2023-09-02 22:56:37 +03:00
|
|
|
({ inherit readline editline; }.${readlineFlavor})
|
2024-01-08 21:37:42 +02:00
|
|
|
] ++ lib.optionals enableMarkdown [
|
2023-12-11 22:26:12 +02:00
|
|
|
lowdown
|
2024-08-19 16:17:13 +03:00
|
|
|
] ++ lib.optionals buildUnitTests [
|
|
|
|
gtest
|
|
|
|
rapidcheck
|
2024-04-25 23:36:56 +03:00
|
|
|
] ++ lib.optional stdenv.isLinux libseccomp
|
2024-03-01 18:42:24 +02:00
|
|
|
++ lib.optional stdenv.hostPlatform.isDarwin darwin.apple_sdk.libs.sandbox
|
2023-12-03 23:48:50 +02:00
|
|
|
++ lib.optional stdenv.hostPlatform.isx86_64 libcpuid
|
|
|
|
# There have been issues building these dependencies
|
|
|
|
++ lib.optional (stdenv.hostPlatform == stdenv.buildPlatform && (stdenv.isLinux || stdenv.isDarwin))
|
2024-07-27 03:10:31 +03:00
|
|
|
aws-sdk-cpp
|
2024-07-27 03:39:55 +03:00
|
|
|
);
|
2023-12-01 13:25:22 +02:00
|
|
|
|
2024-07-27 03:39:55 +03:00
|
|
|
propagatedBuildInputs = lib.optionals doBuild ([
|
2024-06-28 00:28:31 +03:00
|
|
|
boost
|
2023-12-03 21:10:09 +02:00
|
|
|
nlohmann_json
|
2024-07-27 03:39:55 +03:00
|
|
|
] ++ lib.optional enableGC boehmgc
|
|
|
|
);
|
2023-12-03 21:10:09 +02:00
|
|
|
|
|
|
|
dontBuild = !attrs.doBuild;
|
2024-08-19 16:17:13 +03:00
|
|
|
doCheck = attrs.doCheck;
|
2023-12-01 13:25:22 +02:00
|
|
|
|
2023-12-03 21:10:09 +02:00
|
|
|
configureFlags = [
|
|
|
|
(lib.enableFeature doBuild "build")
|
2024-08-19 16:17:13 +03:00
|
|
|
(lib.enableFeature buildUnitTests "unit-tests")
|
2023-12-14 07:05:03 +02:00
|
|
|
(lib.enableFeature doInstallCheck "functional-tests")
|
2023-12-03 23:48:50 +02:00
|
|
|
(lib.enableFeature enableManual "doc-gen")
|
2024-01-10 00:31:40 +02:00
|
|
|
(lib.enableFeature enableGC "gc")
|
2024-01-08 21:37:42 +02:00
|
|
|
(lib.enableFeature enableMarkdown "markdown")
|
2024-08-19 16:17:13 +03:00
|
|
|
(lib.enableFeature installUnitTests "install-unit-tests")
|
2023-09-02 22:56:37 +03:00
|
|
|
(lib.withFeatureAs true "readline-flavor" readlineFlavor)
|
2023-12-18 22:59:58 +02:00
|
|
|
] ++ lib.optionals (!forDevShell) [
|
|
|
|
"--sysconfdir=/etc"
|
2024-08-19 16:17:13 +03:00
|
|
|
] ++ lib.optionals installUnitTests [
|
|
|
|
"--with-check-bin-dir=${builtins.placeholder "check"}/bin"
|
|
|
|
"--with-check-lib-dir=${builtins.placeholder "check"}/lib"
|
2023-12-14 00:02:52 +02:00
|
|
|
] ++ lib.optionals (doBuild) [
|
2023-12-03 21:10:09 +02:00
|
|
|
"--with-boost=${boost}/lib"
|
2023-12-14 00:02:52 +02:00
|
|
|
] ++ lib.optionals (doBuild && stdenv.isLinux) [
|
2023-12-03 23:48:50 +02:00
|
|
|
"--with-sandbox-shell=${busybox-sandbox-shell}/bin/busybox"
|
|
|
|
] ++ lib.optional (doBuild && stdenv.isLinux && !(stdenv.hostPlatform.isStatic && stdenv.system == "aarch64-linux"))
|
2023-12-03 21:10:09 +02:00
|
|
|
"LDFLAGS=-fuse-ld=gold"
|
2023-12-03 23:48:50 +02:00
|
|
|
++ lib.optional (doBuild && stdenv.hostPlatform.isStatic) "--enable-embedded-sandbox-shell"
|
2024-01-12 06:50:03 +02:00
|
|
|
;
|
2023-12-01 00:48:44 +02:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
makeFlags = "profiledir=$(out)/etc/profile.d PRECOMPILE_HEADERS=1";
|
|
|
|
|
2024-06-16 17:34:49 +03:00
|
|
|
preCheck = ''
|
|
|
|
mkdir $testresults
|
|
|
|
'';
|
|
|
|
|
2024-06-19 23:43:54 +03:00
|
|
|
installTargets = lib.optional doBuild "install";
|
2023-12-03 21:10:09 +02:00
|
|
|
|
2023-12-01 00:48:44 +02:00
|
|
|
installFlags = "sysconfdir=$(out)/etc";
|
|
|
|
|
2023-12-03 21:10:09 +02:00
|
|
|
# In this case we are probably just running tests, and so there isn't
|
|
|
|
# anything to install, we just make an empty directory to signify tests
|
|
|
|
# succeeded.
|
|
|
|
installPhase = if finalAttrs.installTargets != [] then null else ''
|
|
|
|
mkdir -p $out
|
|
|
|
'';
|
|
|
|
|
2023-12-03 23:48:50 +02:00
|
|
|
postInstall = lib.optionalString doBuild (
|
2023-12-14 07:05:03 +02:00
|
|
|
lib.optionalString stdenv.hostPlatform.isStatic ''
|
2023-12-01 00:48:44 +02:00
|
|
|
mkdir -p $out/nix-support
|
|
|
|
echo "file binary-dist $out/bin/nix" >> $out/nix-support/hydra-build-products
|
2023-12-03 23:48:50 +02:00
|
|
|
''
|
2023-12-14 07:05:03 +02:00
|
|
|
) + lib.optionalString enableManual ''
|
|
|
|
mkdir -p ''${!outputDoc}/nix-support
|
|
|
|
echo "doc manual ''${!outputDoc}/share/doc/nix/manual" >> ''${!outputDoc}/nix-support/hydra-build-products
|
2023-12-01 00:48:44 +02:00
|
|
|
'';
|
|
|
|
|
2023-11-15 00:18:58 +02:00
|
|
|
# So the check output gets links for DLLs in the out output.
|
|
|
|
preFixup = lib.optionalString (stdenv.hostPlatform.isWindows && builtins.elem "check" finalAttrs.outputs) ''
|
|
|
|
ln -s "$check/lib/"*.dll "$check/bin"
|
|
|
|
ln -s "$out/bin/"*.dll "$check/bin"
|
|
|
|
'';
|
|
|
|
|
2023-12-03 21:10:09 +02:00
|
|
|
doInstallCheck = attrs.doInstallCheck;
|
|
|
|
|
2023-12-01 00:48:44 +02:00
|
|
|
installCheckFlags = "sysconfdir=$(out)/etc";
|
2023-12-04 01:57:16 +02:00
|
|
|
# Work around buggy detection in stdenv.
|
2023-12-04 01:12:05 +02:00
|
|
|
installCheckTarget = "installcheck";
|
|
|
|
|
2023-12-04 01:57:16 +02:00
|
|
|
# Work around weird bug where it doesn't think there is a Makefile.
|
2023-12-04 01:12:05 +02:00
|
|
|
installCheckPhase = if (!doBuild && doInstallCheck) then ''
|
2024-03-11 16:34:23 +02:00
|
|
|
runHook preInstallCheck
|
2023-12-04 01:12:05 +02:00
|
|
|
mkdir -p src/nix-channel
|
|
|
|
make installcheck -j$NIX_BUILD_CORES -l$NIX_BUILD_CORES
|
|
|
|
'' else null;
|
2023-12-01 00:48:44 +02:00
|
|
|
|
2023-12-03 21:10:09 +02:00
|
|
|
# Needed for tests if we are not doing a build, but testing existing
|
|
|
|
# built Nix.
|
2024-03-05 15:35:05 +02:00
|
|
|
preInstallCheck =
|
|
|
|
lib.optionalString (! doBuild) ''
|
|
|
|
mkdir -p src/nix-channel
|
|
|
|
'';
|
2023-12-03 21:10:09 +02:00
|
|
|
|
2023-12-01 00:48:44 +02:00
|
|
|
separateDebugInfo = !stdenv.hostPlatform.isStatic;
|
|
|
|
|
2024-06-04 16:28:27 +03:00
|
|
|
# TODO Always true after https://github.com/NixOS/nixpkgs/issues/318564
|
2023-12-04 01:12:05 +02:00
|
|
|
strictDeps = !withCoverageChecks;
|
2023-12-01 00:48:44 +02:00
|
|
|
|
|
|
|
hardeningDisable = lib.optional stdenv.hostPlatform.isStatic "pie";
|
|
|
|
|
2023-12-03 21:10:09 +02:00
|
|
|
meta = {
|
2023-12-11 22:26:12 +02:00
|
|
|
platforms = lib.platforms.unix ++ lib.platforms.windows;
|
2023-12-03 21:10:09 +02:00
|
|
|
mainProgram = "nix";
|
|
|
|
broken = !(lib.all (a: a) [
|
2024-08-19 16:17:13 +03:00
|
|
|
# We cannot run or install unit tests if we don't build them or
|
|
|
|
# Nix proper (which they depend on).
|
|
|
|
(installUnitTests -> doBuild)
|
|
|
|
(doCheck -> doBuild)
|
2023-12-04 01:53:05 +02:00
|
|
|
# The build process for the manual currently requires extracting
|
|
|
|
# data from the Nix executable we are trying to document.
|
|
|
|
(enableManual -> doBuild)
|
2023-12-03 21:10:09 +02:00
|
|
|
]);
|
|
|
|
};
|
|
|
|
|
|
|
|
} // lib.optionalAttrs withCoverageChecks {
|
|
|
|
lcovFilter = [ "*/boost/*" "*-tab.*" ];
|
|
|
|
|
|
|
|
hardeningDisable = ["fortify"];
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = "-DCOVERAGE=1";
|
|
|
|
|
|
|
|
dontInstall = false;
|
|
|
|
} // lib.optionalAttrs (test-daemon != null) {
|
|
|
|
NIX_DAEMON_PACKAGE = test-daemon;
|
|
|
|
} // lib.optionalAttrs (test-client != null) {
|
|
|
|
NIX_CLIENT_PACKAGE = test-client;
|
2023-12-01 00:48:44 +02:00
|
|
|
})
|