aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-04-15Slight cleanupEelco Dolstra
2019-04-15getFlakeRegistries(): Return registries regardless of pureEvalEelco Dolstra
This makes e.g. 'nix flake list' work.
2019-04-15Move --impure to MixEvalArgsEelco Dolstra
2019-04-15Merge remote-tracking branch 'tweag/automatedUpdate' into flakesEelco Dolstra
2019-04-11Automated lockfile updating with `nix build`Nick Van den Broeck
2019-04-11FlakeRegistry = FlakeRef -> FlakeRefNick Van den Broeck
2019-04-09FlakeAlias is implementedNick Van den Broeck
2019-04-09Took ref and rev out of FlakeRefNick Van den Broeck
2019-04-09Fixed dependency resolutionNick Van den Broeck
2019-04-09FlakeIds are now properly looked up in registriesNick Van den Broeck
2019-04-09Added nonFlakeRequires and the command `nix flake deps`Nick Van den Broeck
2019-04-08WhitespaceEelco Dolstra
2019-04-08Allow relative paths in flakerefsEelco Dolstra
Also allow "." as an installable to refer to the flake in the current directory. E.g. $ nix build . will build 'provides.defaultPackage' in the flake in the current directory.
2019-04-08Move flake template into a separate fileEelco Dolstra
2019-04-08Add "nix flake init" command for creating a flakeEelco Dolstra
2019-04-08nix: Add --impure as a shorter alias of --no-pure-evalEelco Dolstra
2019-04-08Add path flakeref variantEelco Dolstra
Unlike file://<path>, this allows the path to be a dirty Git tree, so nix build /path/to/flake:attr is a convenient way to test building a local flake.
2019-04-08nix: Support nixpkgs.<attrpath> for compatibilityEelco Dolstra
2019-04-08nix: Make -f work for compatibilityEelco Dolstra
2019-04-08Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2019-04-08nix: New installables syntaxEelco Dolstra
The general syntax for an installable is now <flakeref>:<attrpath>. The attrpath is relative to the flake's 'provides.packages' or 'provides' if the former doesn't yield a result. E.g. $ nix build nixpkgs:hello is equivalent to $ nix build nixpkgs:packages.hello Also, '<flakeref>:' can be omitted, in which case it defaults to 'nixpkgs', e.g. $ nix build hello
2019-04-08findAlongAttrPath(): Throw AttrPathNotFoundEelco Dolstra
2019-04-01primeCache(): Barf if builds are needed but not allowedEelco Dolstra
Fixes #2753.
2019-04-01getMachines(): Cache resultEelco Dolstra
2019-03-27Fix Bison 3.3 warningEelco Dolstra
2019-03-27Merge remote-tracking branch 'tweag/flake-registries' into flakesEelco Dolstra
2019-03-26Remove debug lineEelco Dolstra
2019-03-26nix flake add: Handle ~/.config/nix not existingEelco Dolstra
Fixes $ nix flake add fnord github:edolstra/fnord error: opening file '/home/eelco/.config/nix/registry.json': No such file or directory
2019-03-26Merge remote-tracking branch 'tweag/flake-add' into flakesEelco Dolstra
2019-03-26Merge remote-tracking branch 'tweag/auto-update-flake' into flakesEelco Dolstra
2019-03-26Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2019-03-25Merge pull request #1828 from zimbatm/isPathEelco Dolstra
Add isPath primop
2019-03-25store-api.hh: add missing include for unordered_mapWill Dietz
2019-03-24Add isPath primopzimbatm
this is added for completeness' sake since all the other possible `builtins.typeOf` results have a corresponding `builtins.is<Type>`
2019-03-23Combining registries properlyNick Van den Broeck
2019-03-22Issue #15 is finishedNick Van den Broeck
2019-03-22Fixed minor thingsNick Van den Broeck
2019-03-22Implemented --flake flag for nix buildNick Van den Broeck
Also fixed Eelco's PR comments
2019-03-21eval: improve type description for primops and applied primopsLinus Heckemann
This can make type errors a little easier to understand.
2019-03-15Add a 5 seconds of timeouts to connect to S3.Chaker Benhamed
The default is 1000ms, but we can hit it a lot of we don't have direct link to AWS (e.g. using VPN).
2019-03-14pkg-config files: Use c++17Eelco Dolstra
2019-03-14experimental/optional -> optionalEelco Dolstra
2019-03-14nix-store --gc --print-roots: Sort outputEelco Dolstra
2019-03-14findRoots(): Don't censor for trusted usersEelco Dolstra
They're pretty much root anyway.
2019-03-14findRoots(): Add 'censor' parameterEelco Dolstra
This is less brittle than filtering paths after the fact in nix-daemon.
2019-03-14findRuntimeRoots: Simplify/fix handling of /proc filesEelco Dolstra
Scanning of /proc/<pid>/{exe,cwd} was broken because '{memory:' was prepended twice. Also, get rid of the whole '{memory:...}' thing because it's unnecessary, we can just list the file in /proc directly.
2019-03-10Fix warning about unused variableGuillaume Maudoux
2019-03-10Unify internal findRootsXxx() apiGuillaume Maudoux
2019-03-10unify naming of roots as links & targetsGuillaume Maudoux
2019-03-10Also obfuscate the number of memory rootsGuillaume Maudoux