mirror of
https://github.com/NixOS/nix
synced 2025-07-07 06:01:48 +02:00
Fix static build
This commit is contained in:
parent
f959ce3e03
commit
03002203b7
4 changed files with 7 additions and 10 deletions
|
@ -110,7 +110,10 @@
|
||||||
bzip2 xz brotli editline
|
bzip2 xz brotli editline
|
||||||
openssl sqlite
|
openssl sqlite
|
||||||
libarchive
|
libarchive
|
||||||
libzip
|
(libzip.overrideDerivation (old: {
|
||||||
|
# Temporary workaround for https://github.com/NixOS/nixpkgs/pull/178755
|
||||||
|
cmakeFlags = old.cmakeFlags ++ [ "-DBUILD_REGRESS=0" ];
|
||||||
|
}))
|
||||||
boost
|
boost
|
||||||
lowdown-nix
|
lowdown-nix
|
||||||
gtest
|
gtest
|
||||||
|
|
|
@ -12,10 +12,6 @@ InputAccessor::InputAccessor()
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
// FIXME: merge with archive.cc.
|
// FIXME: merge with archive.cc.
|
||||||
const std::string narVersionMagic1 = "nix-archive-1";
|
|
||||||
|
|
||||||
static std::string caseHackSuffix = "~nix~case~hack~";
|
|
||||||
|
|
||||||
void InputAccessor::dumpPath(
|
void InputAccessor::dumpPath(
|
||||||
const CanonPath & path,
|
const CanonPath & path,
|
||||||
Sink & sink,
|
Sink & sink,
|
||||||
|
|
|
@ -35,10 +35,6 @@ static ArchiveSettings archiveSettings;
|
||||||
|
|
||||||
static GlobalConfig::Register rArchiveSettings(&archiveSettings);
|
static GlobalConfig::Register rArchiveSettings(&archiveSettings);
|
||||||
|
|
||||||
const std::string narVersionMagic1 = "nix-archive-1";
|
|
||||||
|
|
||||||
static std::string caseHackSuffix = "~nix~case~hack~";
|
|
||||||
|
|
||||||
PathFilter defaultPathFilter = [](const Path &) { return true; };
|
PathFilter defaultPathFilter = [](const Path &) { return true; };
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -102,7 +102,9 @@ void copyNAR(Source & source, Sink & sink);
|
||||||
void copyPath(const Path & from, const Path & to);
|
void copyPath(const Path & from, const Path & to);
|
||||||
|
|
||||||
|
|
||||||
extern const std::string narVersionMagic1;
|
inline constexpr std::string_view narVersionMagic1 = "nix-archive-1";
|
||||||
|
|
||||||
|
inline constexpr std::string_view caseHackSuffix = "~nix~case~hack~";
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue