Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-06-01 | fetchOrSubstituteTree improvements | Matthew Kenigsberg | |
Caches tree in addition to lockedRef, and explicitly writes out the logic for different combinations of cached/uncached flakes and indirect/resolved/locked flakes. This eliminates uneccessary calls to lookupInFlakeCache, fetchTree, maybeLookupFlake, and flakeCache.push_back | |||
2020-05-30 | Move substitution into Input::fetch() | Eelco Dolstra | |
Closes #3520. | |||
2020-05-30 | Check revCount / lastModified input attributes if specified | Eelco Dolstra | |
2020-05-30 | Remove TreeInfo | Eelco Dolstra | |
The attributes previously stored in TreeInfo (narHash, revCount, lastModified) are now stored in Input. This makes it less arbitrary what attributes are stored where. As a result, the lock file format has changed. An entry like "info": { "lastModified": 1585405475, "narHash": "sha256-bESW0n4KgPmZ0luxvwJ+UyATrC6iIltVCsGdLiphVeE=" }, "locked": { "owner": "NixOS", "repo": "nixpkgs", "rev": "b88ff468e9850410070d4e0ccd68c7011f15b2be", "type": "github" }, is now stored as "locked": { "owner": "NixOS", "repo": "nixpkgs", "rev": "b88ff468e9850410070d4e0ccd68c7011f15b2be", "type": "github", "lastModified": 1585405475, "narHash": "sha256-bESW0n4KgPmZ0luxvwJ+UyATrC6iIltVCsGdLiphVeE=" }, The 'Input' class is now a dumb set of attributes. All the fetcher implementations subclass InputScheme, not Input. This simplifies the API. Also, fix substitution of flake inputs. This was broken since lazy flake fetching started using fetchTree internally. | |||
2020-05-29 | Factor out GitHub / GitLab commonality | Eelco Dolstra | |
2020-05-28 | add gitlab libfetcher | Finn Behrens | |
2020-05-28 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2020-05-28 | Merge branch 'store-visited' of https://github.com/mkenigs/nix into flakes | Eelco Dolstra | |
2020-05-28 | nixpkgsFlakeRef(): Use locked nixpkgs | Eelco Dolstra | |
2020-05-27 | Merge pull request #3621 from gilligan/add-json-tests | Eelco Dolstra | |
Add unit tests for "json.hh" | |||
2020-05-27 | Merge pull request #3625 from gilligan/xml-writer-tests | Eelco Dolstra | |
Add unit tests for xml-writer | |||
2020-05-25 | Add unit tests for xml-writer | Tobias Pflug | |
2020-05-25 | Add unit tests for "json.hh" | Tobias Pflug | |
2020-05-25 | Add unit tests for hashing functions | Tobias Pflug | |
2020-05-21 | handle circular flake dependencies in list-inputs | Matthew Kenigsberg | |
2020-05-20 | Add unit testes for url.cc | Tobias Pflug | |
This adds tests for - parseURL - percentDecode - decodeQuery | |||
2020-05-18 | Cleanup | Eelco Dolstra | |
2020-05-18 | Merge branch 'wait-for-builders' of https://github.com/serokell/nix | Eelco Dolstra | |
2020-05-16 | rm includes | Matthew Kenigsberg | |
2020-05-16 | Create bashInteractive InstallableFlake | Matthew Kenigsberg | |
2020-05-16 | Call lockFlake once and store in _lockedFlake | Matthew Kenigsberg | |
2020-05-16 | use flake's nixpkgs to find bashInteractive | Matthew Kenigsberg | |
2020-05-16 | use nixpkgs#bashInteractive for dev-shell | Matthew Kenigsberg | |
2020-05-15 | Move registry-related commands from 'nix flake' to 'nix registry' | Eelco Dolstra | |
This makes 'nix flake' less cluttered and more consistent (it's only subcommands that operator on a flake). Also, the registry is not inherently flake-related (e.g. fetchTree could also use it to remap inputs). | |||
2020-05-14 | Don't lock a user while doing remote builds | Alexander Bantyev | |
2020-05-13 | Update src/libfetchers/git.cc | Eelco Dolstra | |
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com> | |||
2020-05-12 | Merge pull request #3587 from NixOS/bash-completion | Eelco Dolstra | |
Generic shell completion support for the 'nix' command | |||
2020-05-12 | Show hint how to enable experimental features | Eelco Dolstra | |
2020-05-12 | nix: Don't require --experimental-features=nix-command for some subcommands | Eelco Dolstra | |
2020-05-12 | Fix InstallableCommand | Eelco Dolstra | |
2020-05-12 | Fix macOS build | Eelco Dolstra | |
macOS doesn't have GLOB_ONLYDIR. | |||
2020-05-11 | nix flake: Add completion support | Eelco Dolstra | |
2020-05-11 | When completing flakerefs, only return directories | Eelco Dolstra | |
2020-05-11 | Add completion for installables | Eelco Dolstra | |
This completes flakerefs using the registry (e.g. 'nix<TAB>' => 'nix nixpkgs') and flake output attributes by evaluating the flake (e.g. 'dwarffs#nix<TAB>' => 'dwarffs#nixosModules'). | |||
2020-05-11 | Shut up warnings while running completers | Eelco Dolstra | |
2020-05-11 | Merge pull request #3568 from kolloch/outputHashModeError | Domen Kožar | |
libstore/build.cc: more explicit error about form of output | |||
2020-05-11 | Update src/libstore/build.cc | Domen Kožar | |
2020-05-11 | Cleanup | Eelco Dolstra | |
2020-05-10 | Simplify | Eelco Dolstra | |
2020-05-10 | Add completion for paths | Eelco Dolstra | |
2020-05-10 | nix: Implement basic bash completion | Eelco Dolstra | |
2020-05-09 | Reorder to build | Matthew Kenigsberg | |
This reverts commit 883948d7a0add742ccae58e9845d769a8064371c. | |||
2020-05-09 | Refactor installables | Matthew Kenigsberg | |
InstallableValue has children InstallableFlake and InstallableAttrPath, but InstallableFlake was overriding toDerivations, and usage was changed so that InstallableFlake didn't need cmd. So these changes were made: InstallableValue::toDerivations() -> InstalllableAttrPath::toDerivations() InstallableValue::cmd -> InstallableAttrPath::cmd InstallableValue uses state instead of cmd toBuildables() and toDerivations() were made abstract | |||
2020-05-09 | InstallableExpr unused | Matthew Kenigsberg | |
2020-05-09 | doc: consistently refer to 'fixed-output' with a dash | Benjamin Hipple | |
General cleanup that makes it easier to search for the term. | |||
2020-05-08 | Merge pull request #3571 from gilligan/nix-unit-testing | Eelco Dolstra | |
Add unit tests | |||
2020-05-08 | Enable toLower umlauts test | Tobias Pflug | |
Update comment and enable the test | |||
2020-05-08 | Enable `baseNameOf` test | Tobias Pflug | |
Add note about removal of trailing slashes in the doc comment of baseNameOf and enabled the test. | |||
2020-05-08 | Enable `dirOf` test | Tobias Pflug | |
Adjusted the doc comment for `dirOf` to reflect the implementation behavior. | |||
2020-05-08 | configure: Look for gtest | Eelco Dolstra | |