Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Update git-objects-develop with latest master + StorePathDescriptor #71

Merged
merged 1,010 commits into from
Aug 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1010 commits
Select commit Hold shift + click to select a range
6ff9aa8
Don't process an option if any of its arguments need completion
edolstra Jul 1, 2020
1f9cb06
Try next when no ca exists and have different store dirs
matthewbauer Jul 2, 2020
d2e8b9f
Store subPath in SubstitutionGoal
matthewbauer Jul 2, 2020
fc2ab42
Merge remote-tracking branch 'origin/master' into substitute-other-st…
matthewbauer Jul 2, 2020
c7383c7
Merge remote-tracking branch 'upstream/master' into store-path-or-ca
Ericson2314 Jul 3, 2020
465daa9
Merge remote-tracking branch 'upstream/master' into add-body-to-netwo…
Ericson2314 Jul 3, 2020
fd40971
Merge remote-tracking branch 'upstream/master' into store-path-or-ca
Ericson2314 Jul 5, 2020
7271778
See if setting -std=c++17 for PERL helps
Ericson2314 Jul 5, 2020
54712aa
Merge remote-tracking branch 'origin/master' into flakes
edolstra Jul 6, 2020
cd8eb8a
nix develop: Fall back to "bash" if nixpkgs#bashInteractive is unavai…
edolstra Jul 6, 2020
68f524d
nix develop: Support derivations with multiple outputs
edolstra Jul 6, 2020
97234c1
Merge remote-tracking branch 'upstream/master' into store-path-or-ca
Ericson2314 Jul 6, 2020
fd42176
Add a script to install nix on non-systemd systems.
crinklywrappr Jul 7, 2020
1ab9da9
Merge remote-tracking branch 'origin/master' into flakes
edolstra Jul 7, 2020
39859b8
merged systemd installer with non-systemd installer.
crinklywrappr Jul 7, 2020
9223603
Merge remote-tracking branch 'origin/master' into flakes
edolstra Jul 8, 2020
af95a7c
Add name to BasicDerivation
matthewbauer Jul 8, 2020
8e0d068
Only store hash of fixed derivation output
matthewbauer Jul 8, 2020
06a4e15
Fix build.cc on linux
matthewbauer Jul 8, 2020
a788497
Fix DerivationOutputExtensional name
matthewbauer Jul 9, 2020
acb74d4
Merge remote-tracking branch 'origin/master' into substitute-other-st…
matthewbauer Jul 10, 2020
442d431
Merge remote-tracking branch 'upstream/master' into optional-derivati…
Ericson2314 Jul 11, 2020
abea26a
BasicDerivation::findOutput cannot return reference anymore
Ericson2314 Jul 12, 2020
1c9bec2
Don't improperly assume path is store path
Ericson2314 Jul 12, 2020
13ec627
Set derivation name in dervationStrict
Ericson2314 Jul 12, 2020
5d0b75e
std::string_view for new derivation name parameters
Ericson2314 Jul 12, 2020
1815240
String .drv suffix to create derivation name
Ericson2314 Jul 12, 2020
a8d4707
Undo erroneous indentation change
Ericson2314 Jul 12, 2020
503b425
DerivationOutputExtensional -> DerivationOutputInputAddressed
Ericson2314 Jul 12, 2020
886c91d
Try to fix perl bindings
Ericson2314 Jul 12, 2020
ffc1858
Move C++17 "pattern matching" boilerplat to utils.hh
Ericson2314 Jul 12, 2020
fedfc91
Use more std::visit to prepare for new variant
Ericson2314 Jul 12, 2020
230c9b4
Change types to prepare the way for CA derivations
Ericson2314 Jul 12, 2020
cf9f339
Fix gitlab-fetcher to obtain tags and branches
Ma27 Jul 13, 2020
ff07296
Rename ContentAddress to StorePathDescriptor
meditans Jul 13, 2020
832e111
Merge remote-tracking branch 'origin/master' into flakes
edolstra Jul 14, 2020
da3aea2
EvalCache: Ignore SQLite errors
edolstra Jul 14, 2020
298ff6a
Merge pull request #3809 from Ma27/gitlab-refs
edolstra Jul 14, 2020
ade0f1a
Rename functions related to ContentAddress
meditans Jul 14, 2020
08bf6c4
Rename LegacyContentAddress and related functions
meditans Jul 14, 2020
0356f14
Add 'nix diff-closures' command
edolstra Jul 15, 2020
2d2a10e
Merge branch 'master' of github.com:NixOS/nix into add-body-to-networ…
meditans Jul 15, 2020
e3c2b00
Make InstallableStorePath behave consistently with InstallableValue
edolstra Jul 15, 2020
94eb5fa
Clean up RealiseMode
edolstra Jul 15, 2020
dfe8f3e
nix why-depends: Fix misleading message
edolstra Jul 15, 2020
3624c04
nix: Add --derivation flag to operate on .drv paths
edolstra Jul 15, 2020
2d6d53b
nix: Fix examples
edolstra Jul 15, 2020
d090562
Merge branch 'master' of github.com:NixOS/nix into hash-always-has-type
meditans Jul 15, 2020
c8a3c89
Merge branch 'hash-always-has-type' of github.com:obsidiansystems/nix…
meditans Jul 15, 2020
68dfb8c
Optimize `addToStoreSlow` and remove `TeeParseSink`
Ericson2314 Jul 16, 2020
3f26491
Merge remote-tracking branch 'origin/flakes'
edolstra Jul 16, 2020
716eafa
Merge branch 'diff-closures'
edolstra Jul 16, 2020
8807ff9
nix diff-closures: Fix build
edolstra Jul 16, 2020
5517eee
Generations API cleanup
edolstra Jul 16, 2020
5ea817d
Merge remote-tracking branch 'upstream/master' into hash-always-has-type
Ericson2314 Jul 16, 2020
16c9f67
Add command 'nix profile diff-closure'
edolstra Jul 16, 2020
e3a3406
Merge branch 'master' of github.com:NixOS/nix into add-body-to-networ…
meditans Jul 16, 2020
cc0d77f
Merge branch 'hash-always-has-type' of github.com:obsidiansystems/nix…
Ericson2314 Jul 16, 2020
048e916
Merge branch 'master' of github.com:NixOS/nix into optional-derivatio…
meditans Jul 16, 2020
e45754e
Merge branch 'better-ca-parse-errors' of github.com:obsidiansystems/n…
Ericson2314 Jul 16, 2020
745a03c
Merge branch 'optional-derivation-output-storepath' of github.com:obs…
meditans Jul 16, 2020
1f6a3c2
Merge remote-tracking branch 'upstream/master' into store-path-or-ca
Ericson2314 Jul 16, 2020
52c8be3
nix profile diff-closures: Don't inherit EvalCommand
edolstra Jul 17, 2020
17f75f9
parseFlakeRef(): Only search for the top-level directory for CLI flak…
edolstra Jul 17, 2020
5cb8405
Merge branch 'multi-output-hashDerivationModulo' of github.com:Ericso…
meditans Jul 17, 2020
c123fee
Add back flake-compat shell.nix
Ericson2314 Jul 17, 2020
3f01fa1
Merge pull request #3827 from obsidiansystems/add-back-compat-shell.nix
edolstra Jul 17, 2020
a395c12
Merge branch 'master' of github.com:NixOS/nix into misc-ca
meditans Jul 17, 2020
487c575
Merge branch 'ca-drv' of github.com:Ericson2314/nix into misc-ca
meditans Jul 17, 2020
bc73590
nix edit: call restoreSignals() before `execvp`-ing the $EDITOR
BurNiinTRee Jul 17, 2020
1feb898
Revert "Don't anticipate hash algo without hash in derivation for now"
meditans Jul 17, 2020
205dcd1
Revert "Don't anticipate multiple CA outputs for now"
meditans Jul 17, 2020
bbc633c
Revert "Don't anticipate CA but not fixed outputs for now"
meditans Jul 17, 2020
fefd6c9
Merge branch 'master' of github.com:NixOS/nix into allow-relative-pat…
meditans Jul 17, 2020
4178f36
Test relative store paths
meditans Jul 17, 2020
6756cec
Add `DerivationType::CAFloating`
Ericson2314 Jul 17, 2020
5ae747b
Remove stray added file
Ericson2314 Jul 17, 2020
5526683
fix make's impurity on /bin/sh
Mic92 Jul 18, 2020
0e9fb4a
Merge pull request #3828 from BurNiinTRee/restore-signals-before-edit
edolstra Jul 18, 2020
31826c6
Merge pull request #3832 from Mic92/shell-impurity
edolstra Jul 18, 2020
3294b0a
Add newline to profile sourcing line #3393
ajkovar Jul 18, 2020
db7f05c
Merge branch 'store-path-or-ca-reconcile' of github.com:obsidiansyste…
Ericson2314 Jul 19, 2020
713d574
Merge branch 'store-path-or-ca-reconcile' of github.com:obsidiansyste…
Ericson2314 Jul 19, 2020
a79b6dd
Merge pull request #3834 from ajkovar/source-line-3393
edolstra Jul 19, 2020
f0100f5
README: improve development docs
Mic92 Jul 18, 2020
ac2fc7b
Apply suggestions from code review
Ericson2314 Jul 20, 2020
1c5f8bb
Merge pull request #3822 from obsidiansystems/dump-thrice-fixme
edolstra Jul 20, 2020
eab945f
Merge remote-tracking branch 'upstream/master' into from-dump-stream
Ericson2314 Jul 20, 2020
bf61871
parser.hh -> split.hh
Ericson2314 Jul 20, 2020
c58c616
Remove period at the end of the exception message
Ericson2314 Jul 20, 2020
362ae93
Add UnimplementedError to ease grepping for these
meditans Jul 20, 2020
007bf6d
Merge branch 'ca-derivation-data-types' of github.com:obsidiansystems…
meditans Jul 20, 2020
6357b1b
Add another Unimplemented case
meditans Jul 20, 2020
0ca9744
Use heuristics to decide when to show the response
meditans Jul 20, 2020
6633605
Update doc/manual/hacking.xml
Mic92 Jul 20, 2020
9aae179
Correct bug, thoroughly document addToStoreSlow
meditans Jul 21, 2020
bf0dca7
Merge branch 'fix-and-document-addToStoreSlow' of github.com:obsidian…
Ericson2314 Jul 21, 2020
5a37413
Merge branch 'fix-and-document-addToStoreSlow' of github.com:obsidian…
Ericson2314 Jul 21, 2020
5055c59
Merge branch 'fix-and-document-addToStoreSlow' of github.com:obsidian…
Ericson2314 Jul 21, 2020
51ee506
Merge pull request #3842 from obsidiansystems/fix-and-document-addToS…
edolstra Jul 21, 2020
7e91cdd
Merge pull request #3840 from Mic92/docs
edolstra Jul 21, 2020
0835447
Merge pull request #3801 from obsidiansystems/from-dump-stream
edolstra Jul 21, 2020
cdb3f39
Merge remote-tracking branch 'upstream/master' into better-ca-parse-e…
Ericson2314 Jul 21, 2020
5ce95b9
Update src/libstore/build.cc
Ericson2314 Jul 21, 2020
54e507a
Merge remote-tracking branch 'upstream/master' into add-body-to-netwo…
Ericson2314 Jul 21, 2020
922a845
Update chunkSize to the suggested value
meditans Jul 21, 2020
1346da4
Merge pull request #3844 from obsidiansystems/update-chunksize-to-sug…
edolstra Jul 21, 2020
6cce32c
Change logic for deciding what is a relative path for the local store
Ericson2314 Jul 21, 2020
0951330
Merge pull request #3714 from obsidiansystems/add-body-to-network-errors
edolstra Jul 21, 2020
ff314f1
Merge pull request #3736 from obsidiansystems/allow-relative-paths-in…
edolstra Jul 21, 2020
f4918ec
Merge branch 'store-path-or-ca' of github.com:obsidiansystems/nix int…
Ericson2314 Jul 21, 2020
c9f83f2
Fix issues with store path descriptor round trip
Ericson2314 Jul 21, 2020
ae9e975
README: Fix link to hacking guide
knedlsepp Jul 22, 2020
090960b
Merge pull request #3848 from knedlsepp/patch-1
edolstra Jul 22, 2020
c4b0184
Merge pull request #68 from obsidiansystems/store-path-or-ca-reconcile
Ericson2314 Jul 22, 2020
7decfd0
Merge remote-tracking branch 'upstream/master' into store-path-or-ca
Ericson2314 Jul 22, 2020
c56356b
Separate concerns in `scanForReferences` with TeeSink
Ericson2314 Jul 22, 2020
9423f64
Parse CA derivations using new output variants
Ericson2314 Jul 22, 2020
d58ab59
Merge pull request #3850 from obsidiansystems/references-scan-cleanup
edolstra Jul 23, 2020
b9ead08
Save changes made by "nix registry pin" to user registry
B4dM4n Jul 23, 2020
4bfba13
Merge pull request #3854 from B4dM4n/registry-pin-write
edolstra Jul 23, 2020
2274f63
Get rid of `basicDerivation::findOutput`
Ericson2314 Jul 23, 2020
66a2067
Merge remote-tracking branch 'upstream/master' into better-ca-parse-e…
Ericson2314 Jul 23, 2020
a7b8f79
Merge pull request #3855 from obsidiansystems/delete-find-output
edolstra Jul 23, 2020
6fcd996
Merge remote-tracking branch 'upstream/master' into misc-ca
Ericson2314 Jul 23, 2020
c36916e
Merge branch 'misc-ca' of github.com:obsidiansystems/nix into derivat…
Ericson2314 Jul 23, 2020
26fcab5
Remove unused file
edolstra Jul 23, 2020
a2af25c
Merge remote-tracking branch 'upstream/master' into misc-ca
Ericson2314 Jul 23, 2020
58e55c0
Merge branch 'misc-ca' of github.com:obsidiansystems/nix into derivat…
Ericson2314 Jul 23, 2020
2292814
createUnixDomainSocket(): Fix off-by-one error in copying the socket …
edolstra Jul 24, 2020
2c75574
`queryDerivationOutputMap` no longer assumes all outputs have a mapping
Ericson2314 Jul 24, 2020
72f8771
Allow PRECOMPILE_HEADERS in cross-compilation
matthewbauer Jul 25, 2020
d7c0f09
Merge pull request #3860 from matthewbauer/precompile-headers-cross
edolstra Jul 26, 2020
699fc89
Merge remote-tracking branch 'upstream/master' into hash-always-has-type
Ericson2314 Jul 27, 2020
d5bb67c
Merge remote-tracking branch 'upstream/master' into optional-derivati…
Ericson2314 Jul 27, 2020
78466bc
Merge branch 'optional-derivation-output-storepath' into ca-derivatio…
Ericson2314 Jul 27, 2020
a5f7d31
Merge pull request #3795 from obsidiansystems/optional-derivation-out…
edolstra Jul 27, 2020
ac89462
Merge remote-tracking branch 'upstream/master' into ca-derivation-dat…
Ericson2314 Jul 27, 2020
387699f
Merge branch 'ca-derivation-data-types' of github.com:obsidiansystems…
Ericson2314 Jul 27, 2020
43f2bd8
Merge remote-tracking branch 'upstream/master' into hash-always-has-type
Ericson2314 Jul 27, 2020
1d7d94c
Merge branch 'hash-always-has-type' of github.com:obsidiansystems/nix…
Ericson2314 Jul 27, 2020
86805a2
Merge pull request #3738 from obsidiansystems/hash-always-has-type
edolstra Jul 27, 2020
e6115ca
Merge remote-tracking branch 'upstream/master' into ca-derivation-dat…
Ericson2314 Jul 27, 2020
7cf9784
Merge branch 'ca-derivation-data-types' of github.com:obsidiansystems…
Ericson2314 Jul 27, 2020
e32a9e1
Merge branch 'misc-ca' of github.com:obsidiansystems/nix into derivat…
Ericson2314 Jul 27, 2020
951415b
Require `ca-derivations` everywhere we create a CA derivation
Ericson2314 Jul 27, 2020
8065c6d
Abstract out topo sorting logic
Ericson2314 Jul 27, 2020
f742438
Merge legacy `fetchGit`-builtin with the generic `fetchTree`-function
Ma27 Apr 29, 2020
189e6f5
Bump version to 3.0
edolstra Jul 24, 2020
b8eea7e
Remove putBytes
edolstra Jul 28, 2020
cfe96bd
Merge branch 'master' of github.com:NixOS/nix into ca-drv
meditans Jul 28, 2020
2980b24
Use assert(false) instead of abort()
meditans Jul 28, 2020
e4940e9
Restore backwards-compat for current `builtins.fetchGit`
Ma27 Jul 28, 2020
df707d0
Merge branch 'ca-drv' of github.com:Ericson2314/nix into misc-ca
Ericson2314 Jul 28, 2020
c159f48
Cleanup
edolstra Jul 28, 2020
4c0077a
Fix RemoteStore::addToStore() latency
edolstra Jul 28, 2020
fa8515d
Set regex_constants::match_continuous for quicker search
matthewbauer Jul 29, 2020
428e716
Merge pull request #3876 from NixOS/nix-copy-latency
edolstra Jul 29, 2020
7c09727
Merge pull request #3877 from matthewbauer/develop-continuous-regex
edolstra Jul 29, 2020
39311e7
Merge pull request #3549 from Ma27/fetchgit-hash
edolstra Jul 29, 2020
f63839b
Cleanup
edolstra Jul 29, 2020
e4f6f8d
Prevent nix-build from accepting --packages
illiusdope Jul 30, 2020
d9e23bf
Prevent nix-build from accepting --run/--command
illiusdope Jul 30, 2020
3f3740d
Merge pull request #3879 from illiusdope/nix-build-shell-flags
edolstra Jul 30, 2020
ebee2b7
receiveContents(): unsigned int -> size_t
edolstra Jul 30, 2020
3f6e88a
unsigned long long -> uint64_t
edolstra Jul 30, 2020
a785b3e
Fix build
edolstra Jul 30, 2020
2f4250a
Add "export" to Nix
matthewbauer Jul 30, 2020
5d04a4d
Handle exporters checking correctly
matthewbauer Jul 30, 2020
05ac4db
Merge remote-tracking branch 'origin/master' into substitute-other-st…
matthewbauer Jul 30, 2020
0744f7f
Merge pull request #3689 from matthewbauer/substitute-other-storedir
edolstra Jul 30, 2020
52407f8
exporter -> bundler
matthewbauer Jul 30, 2020
1a70563
Remove single file restriction for bundler
matthewbauer Jul 30, 2020
22fcfdf
Address misc review
matthewbauer Jul 30, 2020
fa2d1fb
Pass system to bundler
matthewbauer Jul 30, 2020
0bdd6cf
Add test for builtins.path
matthewbauer Jul 30, 2020
cdc2386
Make expectedHash optional in prim_path
matthewbauer Jul 30, 2020
eee6ef8
Merge branch 'master' of github.com:NixOS/nix into better-ca-parse-er…
meditans Jul 30, 2020
e3a2154
Fix indentation
Ericson2314 Jul 31, 2020
358da47
Merge pull request #3881 from matthewbauer/fix-builtins-path
edolstra Jul 31, 2020
0604cfd
Merge pull request #3880 from matthewbauer/nix-bundle
edolstra Jul 31, 2020
3e30710
Merge pull request #3788 from crinklywrappr/master
edolstra Jul 31, 2020
5a09eb8
nix/build: add `--rebuild` option
Ma27 Jun 29, 2020
f56dfce
nix bundle: Set category
edolstra Jul 31, 2020
935723e
Merge branch 'nix-command-build-check' of https://github.com/Ma27/nix
edolstra Jul 31, 2020
a3f9625
Tweak description
edolstra Jul 31, 2020
b6d97fd
Merge branch 'master' of github.com:NixOS/nix into drv-outputs-map-al…
meditans Jul 31, 2020
367cba6
Merge remote-tracking branch 'obsidian/better-ca-parse-errors' into s…
Ericson2314 Jul 31, 2020
0e9e599
Merge remote-tracking branch 'upstream/master' into path-info
Ericson2314 Aug 1, 2020
bf042cc
Merge remote-tracking branch 'obsidian/path-info' into store-path-or-ca
Ericson2314 Aug 1, 2020
3cbee1e
Convert to C-style comments
Ericson2314 Aug 1, 2020
bc165e2
Embelish documentation of new Hash functions
Ericson2314 Aug 1, 2020
c4ada76
Fix error message and avoid recalculation
Ericson2314 Aug 1, 2020
54281f3
`addToStore` in terms of `addToStoreFromDump` is not local-store-spec…
Ericson2314 Aug 3, 2020
a284258
Merge pull request #3885 from obsidiansystems/generalize-addToStore-a…
edolstra Aug 3, 2020
24e07c4
Delete compressed NARs
edolstra Aug 3, 2020
062533f
Merge remote-tracking branch 'upstream/master' into path-info-header
Ericson2314 Aug 3, 2020
fe7e57a
tab -> space
Ericson2314 Aug 4, 2020
ed52cf6
Merge pull request #3892 from obsidiansystems/path-info-header
edolstra Aug 4, 2020
327b1bf
BinaryCacheStore: Explicitly flush file sink
edolstra Aug 4, 2020
dfe6642
Revert "Remove putBytes"
edolstra Aug 4, 2020
4e7f1c7
S3BinaryCacheStore: Fix size determination
edolstra Aug 4, 2020
6d9ccde
Make JSON equality tests agnostic to ordering
Ericson2314 Aug 4, 2020
b224c9b
Merge branch 'master' of github.com:NixOS/nix into store-path-or-ca
meditans Aug 4, 2020
5b22a2c
Merge pull request #3894 from obsidiansystems/json-test-order-agnostic
edolstra Aug 4, 2020
8d01e9f
Move back code to minimize diff size
meditans Aug 4, 2020
07f9134
Remove unused imports
meditans Aug 4, 2020
d3452a5
Merge remote-tracking branch 'upstream/master' into better-ca-parse-e…
Ericson2314 Aug 4, 2020
fbeb869
Merge remote-tracking branch 'upstream/master' into drv-outputs-map-a…
Ericson2314 Aug 4, 2020
2f2ae99
WIP systematize more of the worker protocol
Ericson2314 Aug 4, 2020
b9cdbe3
Merge remote-tracking branch 'obsidian/drv-outputs-map-allow-missing'…
Ericson2314 Aug 4, 2020
1bab8a3
Remove unneeded definition
Ericson2314 Aug 4, 2020
45b6fdb
Remove unused functions
Ericson2314 Aug 4, 2020
46cafb1
Merge branch 'drv-outputs-map-allow-missing' into templated-daemon-pr…
Ericson2314 Aug 4, 2020
1dfcbeb
Organize and format code a bit
Ericson2314 Aug 4, 2020
89bda7f
Merge branch 'drv-outputs-map-allow-missing' into templated-daemon-pr…
Ericson2314 Aug 4, 2020
16c98bf
Get rid of some unneeded temporaries
Ericson2314 Aug 4, 2020
6d003d8
Merge branch 'drv-outputs-map-allow-missing' into templated-daemon-pr…
Ericson2314 Aug 4, 2020
b0ede14
Merge branch 'templated-daemon-protocol' into store-path-or-ca
Ericson2314 Aug 4, 2020
088dcea
Typo
edolstra Aug 5, 2020
75f220a
Merge pull request #3864 from obsidiansystems/more-topo-sort
edolstra Aug 5, 2020
b91dc7e
Merge pull request #3730 from obsidiansystems/better-ca-parse-errors
edolstra Aug 5, 2020
03f4faf
Merge remote-tracking branch 'upstream/master' into misc-ca
Ericson2314 Aug 5, 2020
839f0fe
Merge remote-tracking branch 'upstream/master' into misc-ca
Ericson2314 Aug 5, 2020
e7b0847
Make names more consistent
Ericson2314 Aug 5, 2020
e561a13
Reanme `DerivationType::Regular` defintion too
Ericson2314 Aug 5, 2020
25f7912
Style fix
edolstra Aug 5, 2020
b9ebe37
Sed some names to perhaps avoid conflicts
Ericson2314 Aug 5, 2020
e48f944
Merge branch 'misc-ca' of https://github.com/obsidiansystems/nix
edolstra Aug 5, 2020
790b694
Style fix
edolstra Aug 5, 2020
92ad550
Merge remote-tracking branch 'obsidian/misc-ca' into derivation-primo…
Ericson2314 Aug 5, 2020
0559ff3
Merge branch 'master' of github.com:NixOS/nix into derivation-primop-…
Ericson2314 Aug 5, 2020
b3e7354
Update src/libexpr/primops.cc
Ericson2314 Aug 5, 2020
cf93905
Merge remote-tracking branch 'upstream/master' into drv-outputs-map-a…
Ericson2314 Aug 5, 2020
7302761
Merge remote-tracking branch 'obsidian/drv-outputs-map-allow-missing'…
Ericson2314 Aug 5, 2020
3d17a6b
Merge remote-tracking branch 'obsidian/templated-daemon-protocol' int…
Ericson2314 Aug 5, 2020
ed96e60
Proxy -> Phantom to match Rust
Ericson2314 Aug 5, 2020
6c66331
WIP: Put the worker protocol `read` and `write` in a namespace to dis…
Ericson2314 Aug 5, 2020
0739d42
Solve template deduction problem
meditans Aug 5, 2020
8b175f5
Simplify the namespace
meditans Aug 5, 2020
cd7187c
WIP Merge remote-tracking branch 'obsidian/store-path-or-ca' into git…
Ericson2314 Aug 5, 2020
caafdfb
Allow tree hash without nar hash for "has all info" method
Ericson2314 Aug 6, 2020
3273d8a
Fix misc other git test failures
Ericson2314 Aug 6, 2020
8c0fd95
Fix and document some subtle assertions
Ericson2314 Aug 6, 2020
f795f0f
Merge branch 'drv-outputs-map-allow-missing-namespace' of github.com:…
meditans Aug 6, 2020
3d8240c
Remove leftover commented code
meditans Aug 6, 2020
9ab07e9
Use template structs instead of phantoms
meditans Aug 6, 2020
46f9dd5
Fix bug due to non-deterministic arg eval order
meditans Aug 6, 2020
74318cc
Merge branch 'templated-daemon-protocol' of github.com:obsidiansystem…
Ericson2314 Aug 7, 2020
b789809
Merge branch 'store-path-or-ca' of github.com:obsidiansystems/nix int…
Ericson2314 Aug 7, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 4 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,8 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: cachix/install-nix-action@v10
- run: nix-build release.nix --arg nix '{ outPath = ./.; revCount = 123; shortRev = "abcdefgh"; }' --arg systems '[ builtins.currentSystem ]' -A installerScript -A perlBindings
macos_perf_test:
runs-on: macos-latest
steps:
- name: Disable syspolicy assessments
run: |
spctl --status
sudo spctl --master-disable
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v10
- run: nix-build release.nix --arg nix '{ outPath = ./.; revCount = 123; shortRev = "abcdefgh"; }' --arg systems '[ builtins.currentSystem ]' -A installerScript -A perlBindings
#- run: nix flake check
- run: nix-build -A checks.$(if [[ `uname` = Linux ]]; then echo x86_64-linux; else echo x86_64-darwin; fi)
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.4
3.0
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ makefiles = \
src/resolve-system-dependencies/local.mk \
scripts/local.mk \
corepkgs/local.mk \
misc/bash/local.mk \
misc/systemd/local.mk \
misc/launchd/local.mk \
misc/upstart/local.mk \
Expand Down
1 change: 1 addition & 0 deletions Makefile.config.in
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ LIBLZMA_LIBS = @LIBLZMA_LIBS@
OPENSSL_LIBS = @OPENSSL_LIBS@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
SHELL = @bash@
SODIUM_LIBS = @SODIUM_LIBS@
SQLITE3_LIBS = @SQLITE3_LIBS@
bash = @bash@
Expand Down
25 changes: 3 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,35 +12,16 @@ for more details.
On Linux and macOS the easiest way to Install Nix is to run the following shell command
(as a user other than root):

```
```console
$ curl -L https://nixos.org/nix/install | sh
```

Information on additional installation methods is available on the [Nix download page](https://nixos.org/download.html).

## Building And Developing

### Building Nix

You can build Nix using one of the targets provided by [release.nix](./release.nix):

```
$ nix-build ./release.nix -A build.aarch64-linux
$ nix-build ./release.nix -A build.x86_64-darwin
$ nix-build ./release.nix -A build.i686-linux
$ nix-build ./release.nix -A build.x86_64-linux
```

### Development Environment

You can use the provided `shell.nix` to get a working development environment:

```
$ nix-shell
$ ./bootstrap.sh
$ ./configure
$ make
```
See our [Hacking guide](https://hydra.nixos.org/job/nix/master/build.x86_64-linux/latest/download-by-type/doc/manual#chap-hacking) in our manual for instruction on how to
build nix from source with nix-build or how to get a development environment.

## Additional Resources

Expand Down
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ AC_PATH_PROG(flex, flex, false)
AC_PATH_PROG(bison, bison, false)
AC_PATH_PROG(dot, dot)
AC_PATH_PROG(lsof, lsof, lsof)
NEED_PROG(jq, jq)


AC_SUBST(coreutils, [$(dirname $(type -p cat))])
Expand Down
3 changes: 3 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(import (fetchTarball https://github.com/edolstra/flake-compat/archive/master.tar.gz) {
src = ./.;
}).defaultNix
119 changes: 0 additions & 119 deletions doc/manual/expressions/builder-syntax.xml

This file was deleted.

45 changes: 39 additions & 6 deletions doc/manual/hacking.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,37 @@

<title>Hacking</title>

<para>This section provides some notes on how to hack on Nix. To get
<para>This section provides some notes on how to hack on Nix. To get
the latest version of Nix from GitHub:
<screen>
$ git clone git://github.com/NixOS/nix.git
$ git clone https://github.com/NixOS/nix.git
$ cd nix
</screen>
</para>

<para>To build it and its dependencies:
<para>To build Nix for the current operating system/architecture use

<screen>
$ nix-build
</screen>

or if you have a flakes-enabled nix:

<screen>
$ nix build
</screen>

This will build <literal>defaultPackage</literal> attribute defined in the <literal>flake.nix</literal> file.

To build for other platforms add one of the following suffixes to it: aarch64-linux,
i686-linux, x86_64-darwin, x86_64-linux.

i.e.

<screen>
$ nix-build release.nix -A build.x86_64-linux
nix-build -A defaultPackage.x86_64-linux
</screen>

</para>

<para>To build all dependencies and start a shell in which all
Expand All @@ -27,13 +46,27 @@ $ nix-shell
To build Nix itself in this shell:
<screen>
[nix-shell]$ ./bootstrap.sh
[nix-shell]$ configurePhase
[nix-shell]$ make
[nix-shell]$ ./configure $configureFlags
[nix-shell]$ make -j $NIX_BUILD_CORES
</screen>
To install it in <literal>$(pwd)/inst</literal> and test it:
<screen>
[nix-shell]$ make install
[nix-shell]$ make installcheck
[nix-shell]$ ./inst/bin/nix --version
nix (Nix) 2.4
</screen>

If you have a flakes-enabled nix you can replace:

<screen>
$ nix-shell
</screen>

by:

<screen>
$ nix develop
</screen>

</para>
Expand Down
26 changes: 26 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading