Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-06-03 | Merge pull request #2914 from CSVdB/finegrainedEpochs | Eelco Dolstra | |
Made epochs more fine-grained | |||
2019-06-03 | Made epochs more fine-grained | Nick Van den Broeck | |
Fixes #2894 | |||
2019-06-03 | Merge pull request #2909 from NixOS/flake-apps | Eelco Dolstra | |
Add 'nix app' command | |||
2019-06-03 | Add 'nix app' command | Eelco Dolstra | |
This is like 'nix run', except that the command to execute is defined in a flake output, e.g. defaultApp = { type = "app"; program = "${packages.blender_2_80}/bin/blender"; }; Thus you can do $ nix app blender-bin to start Blender from the 'blender-bin' flake. In the future, we can extend this with sandboxing. (For example we would want to be able to specify that Blender should not have network access by default and should only have access to certain paths in the user's home directory.) | |||
2019-06-03 | Bindings: Add convenience method for requiring an attribute | Eelco Dolstra | |
2019-06-03 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-06-03 | Merge pull request #2907 from NixOS/subdir | Eelco Dolstra | |
Subdirectory improvements | |||
2019-06-01 | Fix segfault in builtin fetchurl with hashed mirrors + SRI hashes | Eelco Dolstra | |
2019-06-01 | Merge pull request #2910 from worldofpeace/funding | Eelco Dolstra | |
Add .github/FUNDING.yml | |||
2019-05-31 | Add .github/FUNDING.yml | worldofpeace | |
2019-05-31 | Doh | Eelco Dolstra | |
2019-05-31 | Fix handling of bare flakerefs containing a colon | Eelco Dolstra | |
2019-05-31 | Automatically determine subdir for path flakes | Eelco Dolstra | |
This means that in a flake in a subdirectory of a Git repo, you can now do $ nix build rather than the inconvenient $ nix build ../..?dir=foo/bar | |||
2019-05-31 | Allow bare flakerefs as installables | Eelco Dolstra | |
So now $ nix build blender-bin works and builds the default package from that flake. You don't need to add a colon at the end anymore. | |||
2019-05-31 | Fix reading the lockfile of a flake in a subdirectory | Eelco Dolstra | |
2019-05-31 | Add operator << for LockFile | Eelco Dolstra | |
Useful for debugging. | |||
2019-05-31 | Support 'dir' and other parameters in path flakerefs | Eelco Dolstra | |
2019-05-31 | Show hash mismatch warnings in SRI format | Eelco Dolstra | |
2019-05-31 | Merge pull request #2904 from NixOS/flake-terminology | Eelco Dolstra | |
Rename requires -> inputs, provides -> outputs | |||
2019-05-31 | Rename requires -> inputs, provides -> outputs | Eelco Dolstra | |
Issue #2828. | |||
2019-05-31 | Merge pull request #2903 from NixOS/check-flake | Eelco Dolstra | |
Add "nix flake check" | |||
2019-05-31 | Merge pull request #2905 from ln-nl/patch-1 | Eelco Dolstra | |
release-common: fix build with `config.allowAliases = false` | |||
2019-05-30 | release-common: fix build with `config.allowAliases = false` | ln-nl | |
```sh > nix build -f release.nix build.x86_64-linux error: undefined variable 'docbook5_xsl' at /vcs/nix/release-common.nix:45:7 ``` | |||
2019-05-30 | Merge pull request #2892 from johannes-climacus/master | Eelco Dolstra | |
Replace `type` with `command -v` in install script | |||
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 | Hack: Use legacyPackages from Nixpkgs | Eelco Dolstra | |
Nixpkgs doesn't provide a clean "packages" set yet, so until that's the case, look for packages in "legacyPackages" as well. | |||
2019-05-29 | flake.nix: Add more checks | Eelco Dolstra | |
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 | Doh | Eelco Dolstra | |
2019-05-29 | Replace `type` with `command -v` in install script | Johannes Climacus | |
In POSIX sh, `type` is undefined. cf. https://pubs.opengroup.org/onlinepubs/9699919799/utilities/command.html#tag_20_22_04 | |||
2019-05-29 | Remove makeFlakeValue() | Eelco Dolstra | |
2019-05-29 | Put flake-related stuff in its own namespace | Eelco Dolstra | |
2019-05-29 | Make unsupported flake attributes a fatal error | Eelco Dolstra | |
2019-05-29 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-05-29 | Enable more fromTOML tests | Eelco Dolstra | |
cpptoml now parses almost all examples from the spec. | |||
2019-05-29 | Fix eval-okay-fromTOML test | Eelco Dolstra | |
Turns out we were mis-parsing single-quoted attributes, e.g. 'key2'. | |||
2019-05-29 | bump cpptoml to v0.1.1 | Ding Xiang Fei | |
2019-05-29 | Merge pull request #2898 from NixOS/last-modified | Eelco Dolstra | |
Expose lastModified attribute | |||
2019-05-29 | Get last commit time of github flakes | 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-29 | Merge pull request #2897 from NixOS/source-info | Eelco Dolstra | |
Store SourceInfo in Flake/NonFlake | |||
2019-05-28 | Iterate over references | Eelco Dolstra | |
2019-05-28 | Merge branch 'attrPaths' of https://github.com/NinjaTrappeur/nix | Eelco Dolstra | |
2019-05-28 | nix flake info: Add missing newline | Eelco Dolstra | |
2019-05-28 | printFlakeInfo: Separate JSON output | Eelco Dolstra | |
2019-05-28 | callFlake(): Emit source info attributes for non-flake dependencies | 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 | |