Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-05-15 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-05-15 | Merge pull request #2810 from NixOS/print-build-logs | Eelco Dolstra | |
nix: Add --print-build-logs flag | |||
2019-05-15 | nix: Add --print-build-logs flag | Eelco Dolstra | |
This causes 'nix' to print build log output to stderr rather than showing the last log line in the progress bar. Log lines are prefixed by the name of the derivation (minus the version string), e.g. binutils> make[1]: Leaving directory '/build/binutils-2.31.1' binutils-wrapper> unpacking sources binutils-wrapper> patching sources ... binutils-wrapper> Using dynamic linker: '/nix/store/kr51dlsj9v5cr4n8700jliyz8v5b2q7q-bootstrap-stage0-glibc/lib/ld-linux-x86-64.so.2' bootstrap-stage2-gcc-wrapper> unpacking sources ... linux-headers> unpacking sources linux-headers> unpacking source archive /nix/store/8javli69jhj3bkql2c35gsj5vl91p382-linux-4.19.16.tar.xz | |||
2019-05-11 | nix dev-shell: Ignore SSL_CERT_FILE | Eelco Dolstra | |
2019-05-08 | nix dev-shell: Keep $TERM | Eelco Dolstra | |
2019-05-08 | Merge remote-tracking branch 'origin/master' into flakes | Eelco Dolstra | |
2019-05-08 | Merge remote-tracking branch 'tweag/nix-shell' into flakes | Eelco Dolstra | |
2019-05-07 | Fixed Flake data type and flake fetching | Nick Van den Broeck | |
2019-05-02 | nix dev-shell: Less purity | Eelco Dolstra | |
2019-05-02 | Move createTempFile to libutil | Eelco Dolstra | |
2019-05-02 | nix dev-shell: Execute shellHook | Eelco Dolstra | |
2019-05-02 | nix dev-shell: Use 'provides.devShell' by default | Eelco Dolstra | |
Thus $ nix dev-shell will now build the 'provides.devShell' attribute from the flake in the current directory. If it doesn't exist, it falls back to 'provides.defaultPackage'. | |||
2019-05-02 | Add 'nix dev-shell' and 'nix print-dev-env' command | Eelco Dolstra | |
'nix dev-shell' is intended to replace nix-shell. It supports flakes, e.g. $ nix dev-shell nixpkgs:hello starts a bash shell providing an environment for building 'hello'. Like Lorri (and unlike nix-shell), it computes the build environment by building a modified top-level derivation that writes the environment after running $stdenv/setup to $out and exits. This provides some caching, so it's faster than nix-shell in some cases (especially for packages with lots of dependencies, where the setup script takes a long time). There also is a command 'nix print-dev-env' that prints out shell code for setting up the build environment in an existing shell, e.g. $ . <(nix print-dev-env nixpkgs:hello) https://github.com/tweag/nix/issues/21 | |||
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 | Use "." as the default installable | Eelco 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-19 | Merge remote-tracking branch 'tweag/resolvedFlake' into flakes | Eelco Dolstra | |
2019-04-19 | Shut up clang warning | Eelco Dolstra | |
2019-04-19 | Changed some names | Nick Van den Broeck | |
2019-04-19 | nix flake info: Show revcount | Eelco Dolstra | |
2019-04-19 | Improve missing flake.nix error message | Eelco Dolstra | |
2019-04-17 | Add command `flake clone` | Nick Van den Broeck | |
2019-04-16 | Improve 'nix flake info' a bit | Eelco 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-16 | Fix lock file generation | Eelco Dolstra | |
Before: "requires": { "nixpkgs": { "uri": "nixpkgs" } }, After: "requires": { "nixpkgs": { "uri": "github:edolstra/nixpkgs/f10e8a02eb7fa2b4a070f30cf87f4efcc7f3186d" } }, | |||
2019-04-16 | Remove unneeded pureEval flags | Eelco Dolstra | |
2019-04-16 | Update 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-16 | Improve incremental build | Eelco Dolstra | |
2019-04-16 | Fix makeFlakeValue() | Eelco Dolstra | |
2019-04-16 | Add FIXME for pureEval | Eelco Dolstra | |
2019-04-16 | Fixed flake pin issues | Nick Van den Broeck | |
2019-04-15 | Move --impure to MixEvalArgs | Eelco Dolstra | |
2019-04-15 | Merge remote-tracking branch 'tweag/automatedUpdate' into flakes | Eelco Dolstra | |
2019-04-11 | Automated lockfile updating with `nix build` | Nick Van den Broeck | |
2019-04-11 | FlakeRegistry = FlakeRef -> FlakeRef | Nick Van den Broeck | |
2019-04-09 | FlakeAlias is implemented | Nick Van den Broeck | |
2019-04-09 | Fixed dependency resolution | Nick Van den Broeck | |
2019-04-09 | FlakeIds are now properly looked up in registries | Nick Van den Broeck | |
2019-04-09 | Added nonFlakeRequires and the command `nix flake deps` | Nick Van den Broeck | |
2019-04-08 | Whitespace | Eelco Dolstra | |
2019-04-08 | Allow relative paths in flakerefs | Eelco Dolstra | |
Also allow "." as an installable to refer to the flake in the current directory. E.g. $ nix build . will build 'provides.defaultPackage' in the flake in the current directory. | |||
2019-04-08 | Move flake template into a separate file | Eelco Dolstra | |
2019-04-08 | Add "nix flake init" command for creating a flake | Eelco Dolstra | |
2019-04-08 | nix: Add --impure as a shorter alias of --no-pure-eval | Eelco Dolstra | |
2019-04-08 | nix: Support nixpkgs.<attrpath> for compatibility | Eelco Dolstra | |
2019-04-08 | nix: Make -f work for compatibility | Eelco Dolstra | |
2019-04-08 | nix: New installables syntax | Eelco Dolstra | |
The general syntax for an installable is now <flakeref>:<attrpath>. The attrpath is relative to the flake's 'provides.packages' or 'provides' if the former doesn't yield a result. E.g. $ nix build nixpkgs:hello is equivalent to $ nix build nixpkgs:packages.hello Also, '<flakeref>:' can be omitted, in which case it defaults to 'nixpkgs', e.g. $ nix build hello | |||
2019-03-27 | Merge remote-tracking branch 'tweag/flake-registries' into flakes | Eelco Dolstra | |