aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-05-01flake.lock now uses flakeRef.subdirNick Van den Broeck
2019-05-01Support 'dir' parameters in https and ssh flake URIsEelco Dolstra
2019-05-01FuzzymatchingNick Van den Broeck
Fixed issue #61
2019-05-01WIP: still need to adapt flakeref parsingNick Van den Broeck
2019-04-30findRootsNoTemp: fixes comment about findRuntimeRootsSamuel Dionne-Riel
The NIX_ROOT_FINDER environment variable was removed in 3c46fe62b833a4e66845665edc99555022d3d98c when porting from perl to C.
2019-04-30Merge remote-tracking branch 'tweag/flakeFlags' into flakesEelco Dolstra
2019-04-30Fixed issue #13Nick Van den Broeck
2019-04-30Fix flag registry orderNick Van den Broeck
2019-04-25Merge remote-tracking branch 'tweag/fixFlakeList' into flakesEelco Dolstra
2019-04-25Fix printing FlakeListNick Van den Broeck
2019-04-25Fixed lookupFlake bugNick Van den Broeck
2019-04-24Merge remote-tracking branch 'tweag/flake-clone' into flakesEelco Dolstra
2019-04-19Use "." as the default installableEelco Dolstra
This makes e.g. "nix build" do something more or less reasonable (namely, build the default package of the flake in the current directory).
2019-04-19Merge remote-tracking branch 'tweag/resolvedFlake' into flakesEelco Dolstra
2019-04-19nlohmann-json: 3.5.0 -> 3.6.1Eelco Dolstra
https://github.com/nlohmann/json/releases/tag/v3.6.1 This fixes some clang warnings.
2019-04-19Shut up clang warningEelco Dolstra
2019-04-19Changed some namesNick Van den Broeck
2019-04-19nix flake info: Show revcountEelco Dolstra
2019-04-19fetchGit: Return revCount for dirty working treesEelco Dolstra
2019-04-19exportGit: Don't clone local repositoriesEelco Dolstra
This ensures that commands like 'nix flake info /my/nixpkgs' don't copy a gigabyte of crap to ~/.cache/nix. Fixes #60.
2019-04-19Improve missing flake.nix error messageEelco Dolstra
2019-04-19Clean up exportGit argument handlingEelco Dolstra
2019-04-19Fix assertion failure in FlakeRef::to_string()Eelco Dolstra
2019-04-19Fix assertion failureEelco Dolstra
2019-04-17build: only skip hash rewriting for sandboxing on linuxDaiderd Jordan
The sandbox on darwin, and possibly other future platforms, doesn't have enough isolation to redirect outputs without hash rewriting.
2019-04-17Fix mutability checkEelco Dolstra
2019-04-17Add command `flake clone`Nick Van den Broeck
2019-04-16Pass a flake to itself as "self"Eelco Dolstra
2019-04-16Allow refs to start with a digitEelco Dolstra
E.g. we want to accept "19.03" as a ref.
2019-04-16Use the lock fileEelco Dolstra
2019-04-16Improve 'nix flake info' a bitEelco Dolstra
Example: $ nix flake info dwarffs ID: dwarffs URI: github:edolstra/dwarffs/a83d182fe3fe528ed6366a5cec3458bcb1a5f6e1 Description: A filesystem that fetches DWARF debug info from the Internet on demand Revision: a83d182fe3fe528ed6366a5cec3458bcb1a5f6e1 Path: /nix/store/grgd14kxxk8q4n503j87mpz48gcqpqw7-source
2019-04-16Fix lock file generationEelco Dolstra
Before: "requires": { "nixpkgs": { "uri": "nixpkgs" } }, After: "requires": { "nixpkgs": { "uri": "github:edolstra/nixpkgs/f10e8a02eb7fa2b4a070f30cf87f4efcc7f3186d" } },
2019-04-16updateLockFile(): Make sure Git can see flake.lockEelco Dolstra
2019-04-16Remove unneeded pureEval flagsEelco Dolstra
2019-04-16Update lock files from InstallableFlake::toValue()Eelco Dolstra
This ensures that the lock file is updated *before* evaluating it, and that it gets updated for any nix command, not just 'nix build'. Also, while computing the lock file, allow arbitrary registry lookups, not just at top-level. Also, improve some error messages slightly.
2019-04-16Pass stuff by referenceEelco Dolstra
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 FIXME for pureEvalEelco Dolstra
2019-04-16Merge remote-tracking branch 'tweag/privateGithub' 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