diff options
author | Daniel Peebles <copumpkin@users.noreply.github.com> | 2017-04-17 09:50:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-17 09:50:35 -0400 |
commit | e9f1d8693a666af293d690fabe561eea29c748a1 (patch) | |
tree | 66a2e0a2bc0d6b26076de74aed183716f2c05fe1 /pkgs/tools/package-management | |
parent | 5a7b029fa97bed4831684d4038b509fb9f3fa9b1 (diff) | |
parent | d990aa716327abb018e8352dcf7ba2fcfb4fc34c (diff) |
Merge pull request #23026 from copumpkin/nixos-install-wip
Refactor nixos-install to separate out filesystem build logic
Diffstat (limited to 'pkgs/tools/package-management')
-rw-r--r-- | pkgs/tools/package-management/nix/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/package-management/nix/default.nix b/pkgs/tools/package-management/nix/default.nix index 629c9b685360f..eaab261adef82 100644 --- a/pkgs/tools/package-management/nix/default.nix +++ b/pkgs/tools/package-management/nix/default.nix @@ -131,12 +131,13 @@ in rec { sha256 = "69e0f398affec2a14c47b46fec712906429c85312d5483be43e4c34da4f63f67"; }; - # 1.11.8 doesn't yet have the patch to work on LLVM 4, so we patch it for now. Take this out once - # we move to a higher version. I'd pull the specific patch from upstream but it doesn't apply cleanly. + # Until 1.11.9 is released, we do this :) patchPhase = '' substituteInPlace src/libexpr/json-to-value.cc \ --replace 'std::less<Symbol>, gc_allocator<Value *>' \ 'std::less<Symbol>, gc_allocator<std::pair<const Symbol, Value *> >' + + sed -i '/if (settings.readOnlyMode) {/a curSchema = getSchema();' src/libstore/local-store.cc ''; }) // { perl-bindings = nixStable; }; |