aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr
AgeCommit message (Collapse)Author
2019-05-03Fix 'git add' when subdir is emptyEelco Dolstra
2019-05-03Merge remote-tracking branch 'tweag/subdir' into flakesEelco Dolstra
2019-05-02Fixed compile errorsNick Van den Broeck
2019-05-01Allow 'dir' parameter in github: URIsEelco Dolstra
E.g. 'github:edolstra/dwarffs/flake?dir=foo/bar'.
2019-05-01Accept empty directoriesEelco Dolstra
2019-05-01Validate 'dir=' parametersEelco Dolstra
We reject any path element starting with a '.' (mostly to reject '.' and '..').
2019-05-01Improve error messageEelco Dolstra
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-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-25Fixed lookupFlake bugNick Van den Broeck
2019-04-24Merge remote-tracking branch 'tweag/flake-clone' into flakesEelco Dolstra
2019-04-19Merge remote-tracking branch 'tweag/resolvedFlake' into flakesEelco Dolstra
2019-04-19Changed some namesNick Van den Broeck
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-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-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-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-16Remove dead functionEelco Dolstra
2019-04-16Fix makeFlakeValue()Eelco 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-11Add environment variable NIX_SHOW_SYMBOLS for dumping the symbol tableEelco Dolstra
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