aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-10-26Allow nix.conf options to be set in flake.nixEelco Dolstra
This makes it possible to have per-project configuration in flake.nix, e.g. binary caches and other stuff: nixConfig.bash-prompt-suffix = "ngi# "; nixConfig.substituters = [ "https://cache.ngi0.nixos.org/" ];
2020-10-26isTrivial(): Support trivial listsEelco Dolstra
2020-10-26BaseSetting<StringMap>::set(): Don't append to previous valueEelco Dolstra
2020-10-26Remove edition fieldEelco Dolstra
2020-10-26Move ExplicitEelco Dolstra
2020-10-26Make the prompt used in development shells configurableEelco Dolstra
2020-10-22Fix clang buildEelco Dolstra
2020-10-22nix develop: Add --redirect flag to redirect dependenciesEelco Dolstra
This is primarily useful if you're hacking simultaneously on a package and one of its dependencies. E.g. if you're hacking on Hydra and Nix, you would start a dev shell for Nix, and then a dev shell for Hydra as follows: $ nix develop \ --redirect .#hydraJobs.build.x86_64-linux.nix ~/Dev/nix/outputs/out \ --redirect .#hydraJobs.build.x86_64-linux.nix.dev ~/Dev/nix/outputs/dev (This assumes hydraJobs.build.x86_64-linux has a passthru.nix attribute. You can also use a store path.) This causes all references in the environment to those store paths to be rewritten to ~/Dev/nix/outputs/{out,dev}. Note: unfortunately, you may need to set LD_LIBRARY_PATH=~/Dev/nix/outputs/out/lib because Nixpkgs' ld-wrapper only adds -rpath entries for -L flags that point to the Nix store.
2020-10-21nix develop: Handle 'declare -ax' in bash outputEelco Dolstra
Fixes 'nix develop nixpkgs#qpdfview'.
2020-10-21Add NIX_CONFIG env var for applying nix.conf overridesChristian Kampka
2020-10-20Make bash non-interactive for nix develop --phaseMatthew Kenigsberg
Fix #3975: Currently if Ctrl-C is pressed during a phase, the interactive subshell is not exited. Removing --rcfile when --phase is present makes bash non-interactive
2020-10-19Merge pull request #4080 from kquick/kwq/flake-int-docEelco Dolstra
Add some internal documentation for flake support objects.
2020-10-18Merge pull request #4143 from obsidiansystems/typed-goal-mapsEelco Dolstra
Properly type the derivation and substitution goal maps
2020-10-18DerivationGoal: only retry if output closure incomplete is only problemRobert Hensing
2020-10-18TypoRobert Hensing
2020-10-17Explain that `upcast_goal` is still a static castJohn Ericson
2020-10-17Just use `auto` in two places.John Ericson
2020-10-17tab -> spaceJohn Ericson
2020-10-17Merge remote-tracking branch 'upstream/master' into typed-goal-mapsJohn Ericson
2020-10-15Add missing include for MAX_PATHJohn Ericson
And remove one that we didn't actually need to add
2020-10-15Merge remote-tracking branch 'upstream/master' into fix-and-ci-static-buildsJohn Ericson
2020-10-14Merge remote-tracking branch 'upstream/master' into typed-goal-mapsJohn Ericson
2020-10-14Create /etc/passwd *after* figuring out the sandbox uid/gidEelco Dolstra
Fixes build failures like # nix log /nix/store/gjaa0psfcmqvw7ivggsncx9w364p3s8s-sshd.conf-validated.drv No user exists for uid 30012
2020-10-13Add some more docsJohn Ericson
2020-10-13Merge remote-tracking branch 'upstream/master' into typed-goal-mapsJohn Ericson
2020-10-13Merge branch 'split_build_cc' of https://github.com/obsidiansystems/nixEelco Dolstra
2020-10-12Merge remote-tracking branch 'obsidian/split_build_cc' into typed-goal-mapsJohn Ericson
2020-10-12Merge remote-tracking branch 'upstream/master' into split_build_ccJohn Ericson
2020-10-12Merge branches 'split_build_hh-0', 'split_build_hh-1', 'split_build_hh-2', ↵John Ericson
'split_build_hh-3' and 'split_build_hh-4' into split_build_cc
2020-10-12Trim worker.hhJohn Ericson
2020-10-12Rename to hand-hold git (worker.hh)John Ericson
2020-10-12Trim substitution-goal.hhJohn Ericson
2020-10-12Rename to hand-hold git (substitution-goal.hh)John Ericson
2020-10-12Trim hook-instance.hhJohn Ericson
2020-10-12Rename to hand-hold git (hook-instance.hh)John Ericson
2020-10-12Trim goal.hhJohn Ericson
2020-10-12Rename to hand-hold git (goal.hh)John Ericson
2020-10-12Trim derivation-goal.hhJohn Ericson
2020-10-12Rename to hand-hold git (derivation-goal.hh)John Ericson
2020-10-12Change .cc files to use split build headersJohn Ericson
2020-10-12Prepare for build/*.hh headersJohn Ericson
2020-10-12Handle amount of disk space saved by hard linking being negativevolth
Fixes bogus messages like "currently hard linking saves 17592186044416.00 MiB".
2020-10-11Split out uds-remote-store.{cc.hh}John Ericson
2020-10-11Copy {uds-,}remote-store.{cc,hh}John Ericson
This prepares for the splitting that happens in the next commit.
2020-10-11Properly type the derivation and substitution goal mapsJohn Ericson
As a bonus, Worker::removeGoal is less inefficient.
2020-10-11Merge pull request #4135 from obsidiansystems/split-local-fs-store-headerEelco Dolstra
Split out `local-fs-store.hh`
2020-10-11Merge branches 'build-1', 'build-2', 'build-3', 'build-4', 'build-5', ↵John Ericson
'build-6', 'build-7' and 'build-8' into split_build_cc
2020-10-11Trim lock.ccJohn Ericson
2020-10-11Rename to hand-hold git (lock.cc)John Ericson
2020-10-11Trim lock.hhJohn Ericson