aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-04-16writeLockFile(): Emit empty objects rather than nullEelco Dolstra
2019-04-16getFlake(): Use impureIsAllowedEelco Dolstra
This fixes 'nix build nixpkgs:hello' without --impure.
2019-04-16Improve incremental buildEelco Dolstra
2019-04-16Remove dead functionEelco Dolstra
2019-04-16Fix makeFlakeValue()Eelco Dolstra
2019-04-16Add nix to the flake registryEelco Dolstra
2019-04-16Add FIXME for pureEvalEelco Dolstra
2019-04-16Merge remote-tracking branch 'tweag/privateGithub' into flakesEelco Dolstra
2019-04-16Merge remote-tracking branch 'tweag/flakePinIssues' into flakesEelco Dolstra
2019-04-16Fixed flake pin issuesNick Van den Broeck
2019-04-16Added support for private github repositoriesNick Van den Broeck
2019-04-15FlakeRef::to_string(): Drop the "flake:" prefixEelco Dolstra
This is unnecessary in most contexts and makes 'nix flake list' output less readable.
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-15Merge branch 'flakeRegistryMapsFromRef' 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-08Add a flake.nixEelco Dolstra
2019-04-08nix: Support nixpkgs.<attrpath> for compatibilityEelco Dolstra
2019-04-08Fix testsEelco 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-04-01Use Nixpkgs 19.03Eelco Dolstra
2019-03-27Fix Bison 3.3 warningEelco Dolstra
2019-03-27Update eval-okay-types.exp to match #1828Eelco 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 #2744 from veprbl/patch-8Graham Christensen
manual: mention the "channel:" shorthand for NIX_PATH
2019-03-25manual: mention the "channel:" shorthand for NIX_PATHDmitry Kalinkin
Bumped to 15.09 because older channels, when downloaded from nixos.org, require firefox to be accessed via `pkgs.firefox`