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: merge (mesonified) upstream master into windows-meson #1

Draft
wants to merge 2,664 commits into
base: windows-meson
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2664 commits
Select commit Hold shift + click to select a range
ed66d01
Fix tar invocation on FreeBSD
0mp Sep 28, 2020
6c31297
Update src/libstore/binary-cache-store.cc
Ericson2314 Sep 28, 2020
10202bb
Merge remote-tracking branch 'upstream/master' into ca-floating-upstream
Ericson2314 Sep 28, 2020
80e335b
Use `drvPath2` and give it a better name
Ericson2314 Sep 28, 2020
bcb3da3
Fix spelling error.
kquick Sep 28, 2020
5ae164b
Update description of FlakeRef, incorporating suggestion.
kquick Sep 28, 2020
128c98a
Clarification in the description of the FlakeInput.
kquick Sep 28, 2020
887be7b
Switch comment format from '// ...' to '/* ... */' for consistency.
kquick Sep 28, 2020
c89fa3f
Update .github/workflows/test.yml
domenkozar Sep 28, 2020
f142848
Update .github/workflows/test.yml
domenkozar Sep 28, 2020
00135e1
Clarify comment a bit
Ericson2314 Sep 28, 2020
ed02d20
Merge pull request #4085 from 0mp/patch-2
edolstra Sep 29, 2020
1e8855a
Merge pull request #3958 from obsidiansystems/ca-floating-upstream
edolstra Sep 29, 2020
cebd2fc
Merge branch 'github-api-token' of https://github.com/imalsogreg/nix
edolstra Sep 29, 2020
fc8eed8
Merge pull request #4084 from NixOS/dependabot/github_actions/cachix/…
domenkozar Sep 29, 2020
de86abb
Cleanup
edolstra Sep 29, 2020
5999978
Make Headers an optional argument
edolstra Sep 29, 2020
e2d398c
Merge branch 'master' of github.com:NixOS/nix
edolstra Sep 29, 2020
66c3959
Merge branch 'master' into access-tokens
kquick Sep 29, 2020
64e9b3c
nix registry list: Show 'dir' attribute
edolstra Sep 29, 2020
76f0007
Merge branch 'kwq/path-dir-query' of https://github.com/kquick/nix
edolstra Sep 29, 2020
5e78385
Remove github-access-token in favor of access-token.
kquick Sep 29, 2020
45a0ed8
Revert "Use template structs instead of phantoms"
Ericson2314 Sep 30, 2020
b759701
nix::worker_proto -> worker_proto
Ericson2314 Sep 30, 2020
69afaea
Merge remote-tracking branch 'upstream/master' into templated-daemon-…
Ericson2314 Sep 30, 2020
002ce84
Merge branch 'access-tokens' of https://github.com/kquick/nix
edolstra Sep 30, 2020
274357e
Simplify
edolstra Sep 30, 2020
20a1e20
Style
edolstra Sep 30, 2020
924712e
Installer: Set a known umask
edolstra Sep 30, 2020
f328000
add more examples to --help of `nix run`
DavHau Oct 1, 2020
4a35874
Merge pull request #4098 from DavHau/davhau-add-nix-run-examples
edolstra Oct 1, 2020
d5d196b
Fix profile update in nix command
B4dM4n Oct 2, 2020
57b935a
Merge pull request #4101 from B4dM4n/fix-profile-update
edolstra Oct 2, 2020
4abd555
Fix macOS sandbox build
B4dM4n Oct 2, 2020
f3aba88
Merge pull request #3895 from obsidiansystems/templated-daemon-protocol
edolstra Oct 5, 2020
51c2992
Merge pull request #3935 from obsidiansystems/binary-cache-addToStore…
edolstra Oct 5, 2020
88a667e
Fix s3:// store
edolstra Oct 5, 2020
d0bb544
Add missing #pragma once
edolstra Oct 6, 2020
6691256
Factor out common showBytes()
edolstra Oct 6, 2020
636455c
Remove 'using namespace fetchers'
edolstra Oct 6, 2020
b4db315
mk/precompiled-headers.mk: Fix clang test
edolstra Oct 6, 2020
0856c0a
mk/precompiled-headers.mk: Remove special handling for clang
edolstra Oct 6, 2020
0419cd2
Remove unneeded -lboost_* flags
edolstra Oct 6, 2020
85c8be6
Remove static variable name clashes
edolstra Oct 6, 2020
2856878
Merge pull request #4102 from B4dM4n/macos-sandbox-build
edolstra Oct 6, 2020
ad143c5
Shut up some clang warnings
edolstra Oct 6, 2020
d761485
Prevent a deadlock when user namespace setup fails
edolstra Oct 6, 2020
57d960d
Remove generic std::optional<T> suppport from worker proto
Ericson2314 Oct 7, 2020
5257a25
Merge pull request #4120 from obsidiansystems/no-poly-sum-worker-proto
edolstra Oct 7, 2020
27ca87c
Formatting
edolstra Oct 7, 2020
be149ac
Serialize exceptions from the sandbox process to the parent
edolstra Oct 7, 2020
c43e882
Serialize exceptions from the daemon to the client
edolstra Oct 7, 2020
e705c24
Tweak error messages
edolstra Oct 7, 2020
f66bbd8
Doh
edolstra Oct 7, 2020
6aa6462
Support user namespaces being disabled
edolstra Oct 7, 2020
97ffc1e
Dynamically disable user namespaces if CLONE_NEWUSER fails
edolstra Oct 7, 2020
54f4500
Merge pull request #4121 from NixOS/no-user-namespace
edolstra Oct 8, 2020
eaef251
rust: small patches
Horki Oct 8, 2020
9a1807a
Merge pull request #4125 from Horki/nix_rust_small_patches
edolstra Oct 8, 2020
58dadf2
Remove stray 'Title:' from the manual
edolstra Oct 8, 2020
04e5d0e
Add a description in the completion outputs
thufschmitt Oct 9, 2020
eea310b
Add a zsh completion script
thufschmitt Oct 9, 2020
636ec17
Remove stray DerivationOutputsAndPaths type
edolstra Oct 9, 2020
87157b2
writeFile(): Add error context to writeFull() failure
edolstra Oct 9, 2020
e845d19
Remove Lazy
edolstra Oct 9, 2020
39de735
Merge remote-tracking branch 'upstream/master' into fix-and-ci-static…
Ericson2314 Oct 9, 2020
ea4b2b9
Merge pull request #4128 from tweag/extended-completions
edolstra Oct 9, 2020
59bd6e8
Completions::add(): Guard against newlines
edolstra Oct 9, 2020
4434906
nix develop: Source ~/.bashrc
edolstra Oct 9, 2020
725488b
nix develop: Unset $HOSTNAME
edolstra Oct 9, 2020
6cc1541
Split out `local-fs-store.hh`
Ericson2314 Oct 9, 2020
aef44cb
Split out `commonChildInit`
Ericson2314 Oct 11, 2020
428536f
Prepare for build/* files
Ericson2314 Oct 11, 2020
fc72cb0
Rename to hand-hold git (build.hh)
Ericson2314 Oct 11, 2020
a4f0fec
Trim build.hh
Ericson2314 Oct 11, 2020
9629290
Rename to hand-hold git (build/derivation-goal.cc)
Ericson2314 Oct 11, 2020
3bab1c5
Trim build/derivation-goal.cc
Ericson2314 Oct 11, 2020
184bfc3
Rename to hand-hold git (build/goal.cc)
Ericson2314 Oct 11, 2020
819fe84
Trim build/goal.cc
Ericson2314 Oct 11, 2020
f0b8987
Rename to hand-hold git (build/hook-instance.cc)
Ericson2314 Oct 11, 2020
159054f
Trim build/hook-instance.cc
Ericson2314 Oct 11, 2020
dc5225c
Rename to hand-hold git (build/local-store-build.cc)
Ericson2314 Oct 11, 2020
4bdff7d
Trim build/local-store-build.cc
Ericson2314 Oct 11, 2020
3633b35
Rename to hand-hold git (build/substitution-goal.cc)
Ericson2314 Oct 11, 2020
d24ffe0
Trim build/substitution-goal.cc
Ericson2314 Oct 11, 2020
904e315
Rename to hand-hold git (build/worker.cc)
Ericson2314 Oct 11, 2020
eed53ed
Trim build/worker.cc
Ericson2314 Oct 11, 2020
d0004bf
Rename to hand-hold git (lock.hh)
Ericson2314 Oct 11, 2020
dbc5886
Trim lock.hh
Ericson2314 Oct 11, 2020
e0be041
Rename to hand-hold git (lock.cc)
Ericson2314 Oct 11, 2020
bcb67e1
Trim lock.cc
Ericson2314 Oct 11, 2020
8cc510f
Merge branches 'build-1', 'build-2', 'build-3', 'build-4', 'build-5',…
Ericson2314 Oct 11, 2020
b0fbf3a
Merge pull request #4135 from obsidiansystems/split-local-fs-store-he…
edolstra Oct 11, 2020
5c74a61
Properly type the derivation and substitution goal maps
Ericson2314 Oct 11, 2020
38e3897
Copy {uds-,}remote-store.{cc,hh}
Ericson2314 Oct 11, 2020
15fdb7c
Split out uds-remote-store.{cc.hh}
Ericson2314 Oct 11, 2020
20d2140
Merge pull request #4136 from obsidiansystems/split-uds-remote-store
edolstra Oct 12, 2020
eee18f8
Handle amount of disk space saved by hard linking being negative
volth Oct 12, 2020
5a97621
Prepare for build/*.hh headers
Ericson2314 Oct 12, 2020
f709996
Change .cc files to use split build headers
Ericson2314 Oct 12, 2020
4eb8c69
Rename to hand-hold git (derivation-goal.hh)
Ericson2314 Oct 12, 2020
2ce7269
Trim derivation-goal.hh
Ericson2314 Oct 12, 2020
0d0e345
Rename to hand-hold git (goal.hh)
Ericson2314 Oct 12, 2020
8067d32
Trim goal.hh
Ericson2314 Oct 12, 2020
10b749a
Rename to hand-hold git (hook-instance.hh)
Ericson2314 Oct 12, 2020
d585b4c
Trim hook-instance.hh
Ericson2314 Oct 12, 2020
e77a234
Rename to hand-hold git (substitution-goal.hh)
Ericson2314 Oct 12, 2020
3ffa354
Trim substitution-goal.hh
Ericson2314 Oct 12, 2020
0e23062
Rename to hand-hold git (worker.hh)
Ericson2314 Oct 12, 2020
542972f
Trim worker.hh
Ericson2314 Oct 12, 2020
d334fd4
Merge branches 'split_build_hh-0', 'split_build_hh-1', 'split_build_h…
Ericson2314 Oct 12, 2020
a73959e
Merge remote-tracking branch 'upstream/master' into split_build_cc
Ericson2314 Oct 12, 2020
1b8ebe9
Merge remote-tracking branch 'obsidian/split_build_cc' into typed-goa…
Ericson2314 Oct 12, 2020
7e44add
Merge pull request #4141 from volth/patch-11
edolstra Oct 13, 2020
2653801
Merge branch 'split_build_cc' of https://github.com/obsidiansystems/nix
edolstra Oct 13, 2020
13804f1
Merge remote-tracking branch 'upstream/master' into typed-goal-maps
Ericson2314 Oct 13, 2020
55592b2
Add some more docs
Ericson2314 Oct 13, 2020
11882d7
Create /etc/passwd *after* figuring out the sandbox uid/gid
edolstra Oct 14, 2020
0fefc2a
Merge remote-tracking branch 'upstream/master' into typed-goal-maps
Ericson2314 Oct 14, 2020
f6ed1a9
`build-static` -> `buildStatic` in Nix's flake
Ericson2314 Oct 15, 2020
fccef6a
Merge remote-tracking branch 'upstream/master' into fix-and-ci-static…
Ericson2314 Oct 15, 2020
64be1c1
Add missing include for MAX_PATH
Ericson2314 Oct 15, 2020
48ce627
Make a better -lz hack
Ericson2314 Oct 15, 2020
257090d
Bump Nixpkgs to hopefully fix linkrot
Ericson2314 Oct 15, 2020
1d09923
Merge remote-tracking branch 'obsidian/bump-nixpkgs' into fix-and-ci-…
Ericson2314 Oct 16, 2020
2a37c35
Merge pull request #4151 from obsidiansystems/bump-nixpkgs
edolstra Oct 16, 2020
e6247a5
Merge branch 'fix-and-ci-static-builds' of https://github.com/obsidia…
edolstra Oct 17, 2020
5cfdf16
Convert VM tests to Python
aszlig Oct 17, 2020
cfa26cf
tests: Add names to VM tests
aszlig Oct 17, 2020
05e6fe6
Merge pull request #4156 from aszlig/vm-test-python
edolstra Oct 17, 2020
619d262
Merge remote-tracking branch 'upstream/master' into typed-goal-maps
Ericson2314 Oct 17, 2020
e6f8ae5
tab -> space
Ericson2314 Oct 17, 2020
57d0432
Just use `auto` in two places.
Ericson2314 Oct 17, 2020
7ed46c1
Explain that `upcast_goal` is still a static cast
Ericson2314 Oct 17, 2020
a53438d
doc: nix-shell in pure mode does *not* source user bashrc
SFrijters Oct 18, 2020
94f1e4a
Typo
roberth Oct 18, 2020
ea8d320
Tests for #3964
roberth Oct 17, 2020
bd9eb5c
DerivationGoal: only retry if output closure incomplete is only problem
roberth Oct 18, 2020
ac0846d
Merge branch 'fix-and-ci-static-builds' into meson-p01arst0rm
Ericson2314 Oct 18, 2020
09f0f02
Merge remote-tracking branch 'upstream/master' into meson-p01arst0rm
Ericson2314 Oct 18, 2020
67cc94b
Merge pull request #4158 from hercules-ci/issue-3964-substitution-loop
edolstra Oct 18, 2020
6bca8f8
Merge pull request #4157 from SFrijters/doc-nix-shell-pure-bashrc
edolstra Oct 18, 2020
fda835b
Merge pull request #4143 from obsidiansystems/typed-goal-maps
edolstra Oct 18, 2020
93bd014
Update .gitignore
edolstra Oct 18, 2020
20a7d8d
Add some missing clean-files
edolstra Oct 18, 2020
b153137
WIP Merge branch 'meson' into windows-meson
Ericson2314 Oct 18, 2020
872a626
Fix a few more conflicts
Ericson2314 Oct 18, 2020
532d2bc
flake.lock: Update
edolstra Oct 18, 2020
62cf1d8
Switch to Nixpkgs 20.09
edolstra Oct 18, 2020
c27fcd9
Remove buildStatic from checks
edolstra Oct 18, 2020
b56c598
A few more conflicts fixed
Ericson2314 Oct 19, 2020
0534738
Merge pull request #4162 from edolstra/nixpkgs-20.09
edolstra Oct 19, 2020
9635fb7
Merge pull request #4080 from kquick/kwq/flake-int-doc
edolstra Oct 19, 2020
9c3dc9d
update macOS version handling for Big Sur
abathur Sep 8, 2020
1f02b65
fix xpath and conditional bugs; xpath -> xmllint
abathur Sep 8, 2020
e736f8f
replace xpath with xmllint --xpath; simplify
abathur Sep 8, 2020
fe80790
adapt to apfs.util flag diff in catalina/big sur
abathur Sep 8, 2020
3a8699a
restore create-darwin-volume to release tarball
abathur Sep 10, 2020
b719f68
fix skipped multi-user install steps on macOS
abathur Sep 11, 2020
c40bad4
create missing profile files to fix zsh envvars
abathur Sep 11, 2020
f289bdb
discourage casual Big Sur installs
abathur Oct 19, 2020
f13fdbe
Tentatively fix rest of conflicts in libutil
Ericson2314 Oct 20, 2020
17d4ed3
More conflict fixes
Ericson2314 Oct 20, 2020
14a41d0
Tentatively fix more easier conflicts
Ericson2314 Oct 20, 2020
d05d199
Start fixing conflicts in tests
Ericson2314 Oct 20, 2020
e0ca98c
Merge pull request #3996 from abathur/macos_big_sur_fixes
domenkozar Oct 20, 2020
f6aaac2
Make bash non-interactive for nix develop --phase
mkenigs Oct 20, 2020
21244e1
Merge pull request #4168 from mkenigs/fix-3975
edolstra Oct 20, 2020
265e457
Get libnixutil.so building on Linux
Ericson2314 Oct 20, 2020
85c3e87
Fix more libstore build failures
Ericson2314 Oct 20, 2020
8347281
Fix more errors
Ericson2314 Oct 21, 2020
461cf2b
Add NIX_CONFIG env var for applying nix.conf overrides
kampka Oct 19, 2020
bdf2bcc
Remove conf-file.xml
edolstra Oct 20, 2020
ecfebde
Merge pull request #4166 from kampka/nix-conf-env
edolstra Oct 21, 2020
7f60f48
Fix the docs about the new NIX_CONFIG env var
knedlsepp Oct 21, 2020
e556a1b
nix develop: Handle 'declare -ax' in bash output
edolstra Oct 21, 2020
21830cb
Merge pull request #4177 from knedlsepp/fix-NIX_CONFIG-doc
edolstra Oct 21, 2020
f9438fb
nix develop: Add --redirect flag to redirect dependencies
edolstra Oct 18, 2020
750ce50
Fix clang build
edolstra Oct 19, 2020
a78582c
Merge pull request #4161 from edolstra/nix-develop-redirects
edolstra Oct 22, 2020
b758e52
resolve all failures with theirs
Oct 23, 2020
9f585fa
restore some lines from the windows branch
Oct 23, 2020
257a297
try to build
Oct 23, 2020
c189cf7
Add sha512 to hashAlgo listings in manpages (#4186)
tnias Oct 25, 2020
ac0e24f
Revert "Bump version to 3.0"
edolstra Oct 26, 2020
dc7d132
Make the prompt used in development shells configurable
edolstra Oct 26, 2020
9d5e9ef
Move Explicit
edolstra Oct 26, 2020
1e66d14
Fix test
edolstra Oct 26, 2020
b875b8f
Remove edition field
edolstra Oct 26, 2020
14aecbb
BaseSetting<StringMap>::set(): Don't append to previous value
edolstra Oct 26, 2020
731edf0
isTrivial(): Support trivial lists
edolstra Oct 26, 2020
c092fa4
Allow non-CA derivations to depend on CA derivations
thufschmitt Sep 23, 2020
bc081bc
Inline `unkownHashes`
thufschmitt Sep 24, 2020
ab21ab6
Test the remote caching of non-ca-depending-on-ca derivations
thufschmitt Oct 7, 2020
02a1fac
Merge pull request #4056 from tweag/non-ca-depending-on-ca
edolstra Oct 27, 2020
0ab1764
Hand-migrate a few diffs from build.cc
Ericson2314 Oct 27, 2020
87b5ba1
semi-manually Apply some changes from build.cc
Ericson2314 Oct 27, 2020
d07395b
Manually fix a conflict
Ericson2314 Oct 27, 2020
ac678a8
Manually fix a few more
Ericson2314 Oct 27, 2020
cad86ba
Manually fix a few more 2
Ericson2314 Oct 27, 2020
c22a5e7
Manually apply rest of diff
Ericson2314 Oct 28, 2020
6c3b5a4
Remove old build.cc now that changes have been migrated post split
Ericson2314 Oct 28, 2020
2864ca9
Fix an a conflict from before
Ericson2314 Oct 28, 2020
ed0f583
libstore builds on Linux again
Ericson2314 Oct 28, 2020
4c96e2a
Tentatively fix more conflicts
Ericson2314 Oct 28, 2020
95a5e0c
Fix linux build
Ericson2314 Oct 28, 2020
1fbe591
Merge remote-tracking branch 'nix-windows/wip/merge-atnnn' into wip/w…
Ericson2314 Oct 28, 2020
b138684
Merge remote-tracking branch 'nix-windows/windows-meson' into wip/win…
Ericson2314 Oct 28, 2020
20c272f
Merge remote-tracking branch 'upstream/master' into meson
Ericson2314 Oct 28, 2020
a64e1f6
Remove stray files
Ericson2314 Oct 28, 2020
83601b7
Merge remote-tracking branch 'nix-windows/meson' into wip/windows-mes…
Ericson2314 Oct 28, 2020
82e4d2a
No x86_32 static nix jobs for now
Ericson2314 Oct 28, 2020
5ac911b
Merge pull request #4194 from Ericson2314/skip-bad-static
edolstra Oct 28, 2020
a5019f0
Consistency
edolstra Oct 28, 2020
6a4bf53
Capitalize JSON for consistency
mkenigs Oct 28, 2020
869c032
Alter "wanted:" to "specified:" in hash mismatch output
Oct 28, 2020
98b22f4
Can enter MinGW dev shell
Ericson2314 Oct 29, 2020
84cf5b2
Meson configure successfully for MinGW
Ericson2314 Oct 29, 2020
81f05e9
A few misc fixes for MinGW
Ericson2314 Oct 29, 2020
fbc7dd4
Just don't try to glob on Windows
Ericson2314 Oct 29, 2020
662e67f
Merge pull request #4198 from mkenigs/capitalize-JSON
edolstra Oct 29, 2020
bb8e837
Merge pull request #4199 from stefanjaax/replaceWantedBySpecified
edolstra Oct 29, 2020
ff4dea6
Generalize extra-* settings
edolstra Oct 29, 2020
7f56cf6
Fix assertion failure in tab completion for --option
edolstra Oct 29, 2020
b809c48
nix-shell.md: evaluated -> run
roberth Oct 30, 2020
d4c5d8d
nix-shell.md: Extend shellHook example
roberth Oct 30, 2020
a3a22bd
Merge pull request #4202 from hercules-ci/nix-shell-doc
edolstra Oct 30, 2020
dc5696b
Fix test
edolstra Oct 30, 2020
c4d903d
Fix memory corruption caused by GC-invisible coroutine stacks
roberth Oct 30, 2020
2192cac
Fix RemoteStore pool deadlock in filterSource etc
roberth Oct 30, 2020
b43c13a
BoehmGCStackAllocator: increase stack size to 8MB
roberth Oct 30, 2020
e8a45d0
Restore RestrictedStore.addToStoreFromDump implementation
roberth Oct 31, 2020
035d0ad
Merge pull request #4209 from hercules-ci/fix-restricted-store-addToS…
grahamc Oct 31, 2020
db5424b
Don't send eval-related settings to the daemon
edolstra Nov 2, 2020
ab2ef85
Merge pull request #4207 from hercules-ci/fix-RemoteStore-filterSourc…
edolstra Nov 2, 2020
8b15650
docs: consistent console prompt (#4213)
mkenigs Nov 2, 2020
7cf874c
Don't use readDerivation() in addValidPath()
edolstra Nov 2, 2020
550e11f
nix repl: Fix handling of multi-line expressions
edolstra Nov 2, 2020
8cd2ff6
nix-copy-closure: verify it works with drvs
grahamc Nov 2, 2020
cf82e14
Merge pull request #4214 from grahamc/test-nix-copy-closure
domenkozar Nov 3, 2020
797a52e
Add FIXME
edolstra Nov 3, 2020
e8c3795
LocalStore: Get rid of recursive_mutex
edolstra Nov 3, 2020
5e6eabe
Fix error message 'assertion failed at'
edolstra Nov 3, 2020
b366e5a
Merge remote-tracking branch 'nix-windows/windows-meson' into wip/win…
Ericson2314 Nov 3, 2020
1cb443e
Uncomment bit requiring a newer Meson
Ericson2314 Nov 3, 2020
dbe9ba8
Merge remote-tracking branch 'upstream/master' into wip/windows-meson…
Ericson2314 Nov 3, 2020
387f824
Merge pull request #4206 from hercules-ci/fix-coroutine-gc
edolstra Nov 5, 2020
1299677
Merge remote-tracking branch 'upstream/master' into meson
Ericson2314 Nov 5, 2020
d1848ca
Add missing libexpr dep
Ericson2314 Nov 5, 2020
7dfbdaf
Merge branch 'meson' into wip/windows-meson-merge-master
Ericson2314 Nov 5, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .dir-locals.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
((c++-mode . (
(c-file-style . "k&r")
(c-basic-offset . 4)
(c-block-comment-prefix . " ")
(indent-tabs-mode . nil)
(tab-width . 4)
(show-trailing-whitespace . t)
Expand All @@ -13,4 +14,5 @@
(eval . (c-set-offset 'arglist-cont-nonempty '+))
(eval . (c-set-offset 'substatement-open 0))
(eval . (c-set-offset 'access-label '-))
(eval . (c-set-offset 'inlambda 0))
)))
27 changes: 0 additions & 27 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

**Describe the bug**

A clear and concise description of what the bug is.

If you have a problem with a specific package or NixOS,
you probably want to file an issue at https://github.com/NixOS/nixpkgs/issues.

**Steps To Reproduce**

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**

A clear and concise description of what you expected to happen.

**`nix-env --version` output**

**Additional context**

Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: improvement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
17 changes: 17 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "Test"
on:
pull_request:
push:
jobs:
tests:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: cachix/install-nix-action@v11
#- run: nix flake check
- run: nix-build -A checks.$(if [[ `uname` = Linux ]]; then echo x86_64-linux; else echo x86_64-darwin; fi)
42 changes: 24 additions & 18 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,29 @@ Makefile.config
perl/Makefile.config

# /
/build
/aclocal.m4
/autom4te.cache
/precompiled-headers.h.gch
/config.*
/configure
/nix.spec
/stamp-h1
/svn-revision
/libtool

/corepkgs/config.nix

# /corepkgs/channels/
/corepkgs/channels/unpack.sh

# /corepkgs/nar/
/corepkgs/nar/nar.sh
/corepkgs/nar/unnar.sh

# /doc/manual/
/doc/manual/manual.html
/doc/manual/manual.xmli
/doc/manual/manual.pdf
/doc/manual/manual.is-valid
/doc/manual/*.1
/doc/manual/*.5
/doc/manual/*.8
/doc/manual/version.txt
/doc/manual/nix.json
/doc/manual/conf-file.json
/doc/manual/builtins.json
/doc/manual/src/command-ref/nix.md
/doc/manual/src/command-ref/conf-file.md
/doc/manual/src/expressions/builtins.md

# /scripts/
/scripts/nix-profile.sh
/scripts/nix-copy-closure
/scripts/nix-reduce-build
/scripts/nix-http-export.cgi
/scripts/nix-profile-daemon.sh
Expand All @@ -46,7 +38,10 @@ perl/Makefile.config
/src/libexpr/nix.tbl

# /src/libstore/
/src/libstore/*.gen.hh
*.gen.*

# /src/libutil/
/src/libutil/tests/libutil-tests

/src/nix/nix

Expand Down Expand Up @@ -74,6 +69,8 @@ perl/Makefile.config

/src/nix-copy-closure/nix-copy-closure

/src/error-demo/error-demo

/src/build-remote/build-remote

# /tests/
Expand All @@ -84,6 +81,7 @@ perl/Makefile.config
/tests/restricted-innocent
/tests/shell
/tests/shell.drv
/tests/config.nix

# /tests/lang/
/tests/lang/*.out
Expand All @@ -99,7 +97,7 @@ perl/Makefile.config

/src/resolve-system-dependencies/resolve-system-dependencies

inst/
outputs/

*.a
*.o
Expand All @@ -117,3 +115,11 @@ GPATH
GRTAGS
GSYMS
GTAGS

# ccls
/.ccls-cache

# auto-generated compilation database
compile_commands.json

nix-rust/target
8 changes: 0 additions & 8 deletions .travis.yml

This file was deleted.

16 changes: 14 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,22 +1,34 @@
makefiles = \
mk/precompiled-headers.mk \
local.mk \
src/libutil/local.mk \
src/libutil/tests/local.mk \
src/libstore/local.mk \
src/libfetchers/local.mk \
src/libmain/local.mk \
src/libexpr/local.mk \
src/nix/local.mk \
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 \
doc/manual/local.mk \
tests/local.mk \
tests/plugins/local.mk

GLOBAL_CXXFLAGS += -g -Wall -include config.h

-include Makefile.config

OPTIMIZE = 1

ifeq ($(OPTIMIZE), 1)
GLOBAL_CXXFLAGS += -O3
else
GLOBAL_CXXFLAGS += -O0 -U_FORTIFY_SOURCE
endif

include mk/lib.mk

GLOBAL_CXXFLAGS += -g -Wall -include config.h -std=c++17
22 changes: 12 additions & 10 deletions Makefile.config.in
Original file line number Diff line number Diff line change
@@ -1,41 +1,43 @@
AR = @AR@
BDW_GC_LIBS = @BDW_GC_LIBS@
BOOST_LDFLAGS = @BOOST_LDFLAGS@
BUILD_SHARED_LIBS = @BUILD_SHARED_LIBS@
CC = @CC@
CFLAGS = @CFLAGS@
CXX = @CXX@
CXXFLAGS = @CXXFLAGS@
LDFLAGS = @LDFLAGS@
EDITLINE_LIBS = @EDITLINE_LIBS@
ENABLE_S3 = @ENABLE_S3@
HAVE_SODIUM = @HAVE_SODIUM@
GTEST_LIBS = @GTEST_LIBS@
HAVE_SECCOMP = @HAVE_SECCOMP@
BOOST_LDFLAGS = @BOOST_LDFLAGS@
HAVE_SODIUM = @HAVE_SODIUM@
LDFLAGS = @LDFLAGS@
LIBARCHIVE_LIBS = @LIBARCHIVE_LIBS@
LIBBROTLI_LIBS = @LIBBROTLI_LIBS@
LIBCURL_LIBS = @LIBCURL_LIBS@
LIBLZMA_LIBS = @LIBLZMA_LIBS@
OPENSSL_LIBS = @OPENSSL_LIBS@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
SHELL = @bash@
SODIUM_LIBS = @SODIUM_LIBS@
LIBLZMA_LIBS = @LIBLZMA_LIBS@
SQLITE3_LIBS = @SQLITE3_LIBS@
LIBBROTLI_LIBS = @LIBBROTLI_LIBS@
EDITLINE_LIBS = @EDITLINE_LIBS@
bash = @bash@
bindir = @bindir@
lsof = @lsof@
datadir = @datadir@
datarootdir = @datarootdir@
doc_generate = @doc_generate@
docdir = @docdir@
exec_prefix = @exec_prefix@
includedir = @includedir@
libdir = @libdir@
libexecdir = @libexecdir@
localstatedir = @localstatedir@
lsof = @lsof@
mandir = @mandir@
pkglibdir = $(libdir)/$(PACKAGE_NAME)
prefix = @prefix@
sandbox_shell = @sandbox_shell@
storedir = @storedir@
sysconfdir = @sysconfdir@
doc_generate = @doc_generate@
xmllint = @xmllint@
xsltproc = @xsltproc@
system = @system@
41 changes: 26 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,35 @@
# Nix

[![Open Collective supporters](https://opencollective.com/nixos/tiers/supporter/badge.svg?label=Supporters&color=brightgreen)](https://opencollective.com/nixos)
[![Test](https://github.com/NixOS/nix/workflows/Test/badge.svg)](https://github.com/NixOS/nix/actions)

Nix, the purely functional package manager
------------------------------------------
Nix is a powerful package manager for Linux and other Unix systems that makes package
management reliable and reproducible. Please refer to the [Nix manual](https://nixos.org/nix/manual)
for more details.

Nix is a new take on package management that is fairly unique. Because of its
purity aspects, a lot of issues found in traditional package managers don't
appear with Nix.
## Installation

To find out more about the tool, usage and installation instructions, please
read the manual, which is available on the Nix website at
<http://nixos.org/nix/manual>.
On Linux and macOS the easiest way to install Nix is to run the following shell command
(as a user other than root):

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

Take a look at the [Hacking Section](http://nixos.org/nix/manual/#chap-hacking)
of the manual. It helps you to get started with building Nix from source.
Information on additional installation methods is available on the [Nix download page](https://nixos.org/download.html).

## License
## Building And Developing

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

Nix is released under the LGPL v2.1
## Additional Resources

- [Nix manual](https://nixos.org/nix/manual)
- [Nix jobsets on hydra.nixos.org](https://hydra.nixos.org/project/nix)
- [NixOS Discourse](https://discourse.nixos.org/)
- [IRC - #nixos on freenode.net](irc://irc.freenode.net/#nixos)

## License

This product includes software developed by the OpenSSL Project for
use in the [OpenSSL Toolkit](http://www.OpenSSL.org/).
Nix is released under the [LGPL v2.1](./COPYING).
4 changes: 0 additions & 4 deletions bootstrap-ac.sh

This file was deleted.

8 changes: 0 additions & 8 deletions bootstrap-meson.sh

This file was deleted.

Loading