Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-09-19 | nix flake check: Validate nixosConfigurations outputs | Eelco Dolstra | |
2019-09-18 | Record original flakerefs in the lock file again | Eelco Dolstra | |
If 'input.<name>.uri' changes, then the entry in the lockfile for input <name> should be considered stale. Also print some messages when lock file entries are added/updated. | |||
2019-09-10 | nix flake check: Check hydraJobs | Eelco Dolstra | |
2019-09-10 | nix flake check: Do some basic checks on NixOS modules | Eelco Dolstra | |
Also show more position info. | |||
2019-09-10 | nix flake check: Check overlays | Eelco Dolstra | |
2019-08-30 | Remove 'name' attribute from flakes | Eelco Dolstra | |
This is no longer needed since flakes are given an identity in the 'inputs' attribute. | |||
2019-07-11 | Rename 'epoch' -> 'edition' | Eelco Dolstra | |
2019-06-21 | Simplify getFlake() / fetchFlake() logic | Eelco Dolstra | |
2019-06-18 | Make subcommand construction in MultiCommand lazy | Eelco Dolstra | |
2019-06-18 | Merge pull request #2951 from NixOS/app-improvements | Eelco Dolstra | |
App / check improvements | |||
2019-06-18 | Merge pull request #2917 from CSVdB/docs | Eelco Dolstra | |
Updated flake documentation | |||
2019-06-18 | Updated documentation | Eelco Dolstra | |
2019-06-18 | nix flake check: Ignore legacyPackages | Eelco Dolstra | |
2019-06-17 | nix flake check: Warn about unknown flake outputs | Eelco Dolstra | |
2019-06-17 | nix flake check: Check apps | Eelco Dolstra | |
2019-06-17 | nix flake info --json: Revive enumerating the outputs | Eelco Dolstra | |
2019-06-05 | Move flake-related stuff to src/libexpr/flake | Eelco Dolstra | |
2019-06-04 | Make non-flake inputs lazy | Eelco Dolstra | |
Also add a proper test for non-flake inputs. | |||
2019-06-04 | Make flake input fetching lazy | Eelco Dolstra | |
As long as the flake input is locked, it is now only fetched when it is evaluated (e.g. "nixpkgs" is fetched when "inputs.nixpkgs.<something>" is evaluated). This required adding an "id" attribute to the members of "inputs" in lockfiles, e.g. "inputs": { "nixpkgs/release-19.03": { "id": "nixpkgs", "inputs": {}, "narHash": "sha256-eYtxncIMFVmOHaHBtTdPGcs/AnJqKqA6tHCm0UmPYQU=", "nonFlakeInputs": {}, "uri": "github:edolstra/nixpkgs/e9d5882bb861dc48f8d46960e7c820efdbe8f9c1" } } because the flake ID needs to be known beforehand to construct the "inputs" attrset. Fixes #2913. | |||
2019-05-31 | Rename requires -> inputs, provides -> outputs | Eelco Dolstra | |
Issue #2828. | |||
2019-05-29 | nix flake info --json: List the "provides" | Eelco Dolstra | |
It also lists the contents of "checks" and "packages". For example: $ nix flake info --json | jq { "branch": "HEAD", "description": "The purely functional package manager", "epoch": 2019, "id": "nix", "lastModified": 1559161142, "path": "/nix/store/2w2qla8735dbxah8gai8r1nsbf5x4f5d-source", "provides": { "checks": { "binaryTarball": {}, "nix-copy-closure": {}, "perlBindings": {}, "remoteBuilds": {}, "setuid": {} }, "defaultPackage": {}, "devShell": {}, "hydraJobs": {}, "packages": { "nix": {}, "nix-perl-bindings": {} } }, "revCount": 6955, "revision": "8cb24e04e8b6cc60e2504733afe78e0eadafcd98", "uri": "/home/eelco/Dev/nix" } Fixes #2820. | |||
2019-05-29 | nix flake check: Use read-only mode if we're not building | Eelco Dolstra | |
2019-05-29 | nix flake check: Check defaultPackage, devShell and packages | Eelco Dolstra | |
2019-05-29 | Add 'nix flake check' command | Eelco Dolstra | |
This evaluates all the 'provides' of a flake and builds the 'check' attributes. | |||
2019-05-29 | Put flake-related stuff in its own namespace | Eelco Dolstra | |
2019-05-29 | Add date of last commit to SourceInfo | Eelco Dolstra | |
This is primarily useful for version string generation, where we need a monotonically increasing number. The revcount is the preferred thing to use, but isn't available for GitHub flakes (since it requires fetching the entire history). The last commit timestamp OTOH can be extracted from GitHub tarballs. | |||
2019-05-28 | nix flake info: Add missing newline | Eelco Dolstra | |
2019-05-28 | printFlakeInfo: Separate JSON output | Eelco Dolstra | |
2019-05-28 | nix flake deps: Remove --json flag for now | Eelco Dolstra | |
It doesn't produce valid JSON at the moment (but a concatenation of JSON objects). Anyway we probably should merge this command info 'nix flake info'. | |||
2019-05-28 | printFlakeInfo/printNonFlakeInfo: Factor out commonality | Eelco Dolstra | |
2019-05-28 | nix flake info/deps: Stop progress bar before printing output | Eelco Dolstra | |
2019-05-28 | Remove redundant resolvedRef fields since they're already in SourceInfo | Eelco Dolstra | |
2019-05-28 | Store SourceInfo in Flake and NonFlake | Eelco Dolstra | |
This deduplicates some shared fields. Factoring out the commonality is useful in places like makeFlakeValue(). | |||
2019-05-22 | Fetch the flake registry from the NixOS/flake-registry repo | Eelco Dolstra | |
2019-05-22 | Check the flake epoch | Eelco Dolstra | |
Closes #2883. | |||
2019-05-22 | nix flake deps: Print flake dependencies | Eelco Dolstra | |
2019-05-22 | Move flake-related flags into a separate class | Eelco Dolstra | |
Also, rename --dont-save-lock-file to --no-save-lock-file and change noRegistries to useRegistries. | |||
2019-05-22 | Improve FlakeCommand | Eelco Dolstra | |
It now handles commonality like calling getFlake() and resolving relative local flake refs. Fixes #2822. | |||
2019-05-17 | Lockfile handling in `resolveFlake` is fixed | Nick Van den Broeck | |
2019-05-16 | Give errors in resolveFlake | Nick Van den Broeck | |
If DontUpdate but the lockfile isn't correct | |||
2019-05-16 | Fixed issue 65 | Nick Van den Broeck | |
lockfile updating | |||
2019-05-07 | Fixed Flake data type and flake fetching | Nick Van den Broeck | |
2019-04-30 | Merge remote-tracking branch 'tweag/flakeFlags' into flakes | Eelco Dolstra | |
2019-04-30 | Fixed issue #13 | Nick Van den Broeck | |
2019-04-30 | Fix flag registry order | Nick Van den Broeck | |
2019-04-25 | Fix printing FlakeList | Nick Van den Broeck | |
2019-04-24 | Merge remote-tracking branch 'tweag/flake-clone' into flakes | Eelco Dolstra | |
2019-04-19 | Merge remote-tracking branch 'tweag/resolvedFlake' into flakes | Eelco Dolstra | |
2019-04-19 | Changed some names | Nick Van den Broeck | |
2019-04-19 | nix flake info: Show revcount | Eelco Dolstra | |