mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2025-02-16 23:27:17 +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
|
||||
openssl sqlite
|
||||
libarchive
|
||||
libzip
|
||||
(libzip.overrideDerivation (old: {
|
||||
# Temporary workaround for https://github.com/NixOS/nixpkgs/pull/178755
|
||||
cmakeFlags = old.cmakeFlags ++ [ "-DBUILD_REGRESS=0" ];
|
||||
}))
|
||||
boost
|
||||
lowdown-nix
|
||||
gtest
|
||||
|
|
|
@ -12,10 +12,6 @@ InputAccessor::InputAccessor()
|
|||
{ }
|
||||
|
||||
// FIXME: merge with archive.cc.
|
||||
const std::string narVersionMagic1 = "nix-archive-1";
|
||||
|
||||
static std::string caseHackSuffix = "~nix~case~hack~";
|
||||
|
||||
void InputAccessor::dumpPath(
|
||||
const CanonPath & path,
|
||||
Sink & sink,
|
||||
|
|
|
@ -35,10 +35,6 @@ static ArchiveSettings 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; };
|
||||
|
||||
|
||||
|
|
|
@ -102,7 +102,9 @@ void copyNAR(Source & source, Sink & sink);
|
|||
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
Reference in a new issue