Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 function for quoting strings | Eelco Dolstra | |
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-05-02 | Fixed compile errors | Nick Van den Broeck | |
2019-05-01 | Allow 'dir' parameter in github: URIs | Eelco Dolstra | |
E.g. 'github:edolstra/dwarffs/flake?dir=foo/bar'. | |||
2019-05-01 | Accept empty directories | Eelco Dolstra | |
2019-05-01 | Validate 'dir=' parameters | Eelco Dolstra | |
We reject any path element starting with a '.' (mostly to reject '.' and '..'). | |||
2019-05-01 | Improve error message | Eelco Dolstra | |
2019-05-01 | flake.lock now uses flakeRef.subdir | Nick Van den Broeck | |
2019-05-01 | Support 'dir' parameters in https and ssh flake URIs | Eelco Dolstra | |
2019-05-01 | Fuzzymatching | Nick Van den Broeck | |
Fixed issue #61 | |||
2019-05-01 | WIP: still need to adapt flakeref parsing | Nick Van den Broeck | |
2019-04-30 | findRootsNoTemp: fixes comment about findRuntimeRoots | Samuel Dionne-Riel | |
The NIX_ROOT_FINDER environment variable was removed in 3c46fe62b833a4e66845665edc99555022d3d98c when porting from perl to C. | |||
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 | Merge remote-tracking branch 'tweag/fixFlakeList' into flakes | Eelco Dolstra | |
2019-04-25 | Fix printing FlakeList | Nick Van den Broeck | |
2019-04-25 | Fixed lookupFlake bug | 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 | nlohmann-json: 3.5.0 -> 3.6.1 | Eelco Dolstra | |
https://github.com/nlohmann/json/releases/tag/v3.6.1 This fixes some clang warnings. | |||
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 | fetchGit: Return revCount for dirty working trees | Eelco Dolstra | |
2019-04-19 | exportGit: Don't clone local repositories | Eelco 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-19 | Improve missing flake.nix error message | Eelco Dolstra | |
2019-04-19 | Clean up exportGit argument handling | Eelco Dolstra | |
2019-04-19 | Fix assertion failure in FlakeRef::to_string() | Eelco Dolstra | |
2019-04-19 | Fix assertion failure | Eelco Dolstra | |
2019-04-17 | build: only skip hash rewriting for sandboxing on linux | Daiderd Jordan | |
The sandbox on darwin, and possibly other future platforms, doesn't have enough isolation to redirect outputs without hash rewriting. | |||
2019-04-17 | Fix mutability check | Eelco Dolstra | |
2019-04-17 | Add command `flake clone` | Nick Van den Broeck | |
2019-04-16 | Pass a flake to itself as "self" | Eelco Dolstra | |
2019-04-16 | Allow refs to start with a digit | Eelco Dolstra | |
E.g. we want to accept "19.03" as a ref. | |||
2019-04-16 | Use the lock file | Eelco Dolstra | |
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 | updateLockFile(): Make sure Git can see flake.lock | Eelco Dolstra | |
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 | Pass stuff by reference | Eelco Dolstra | |
2019-04-16 | writeLockFile(): Emit empty objects rather than null | Eelco Dolstra | |
2019-04-16 | getFlake(): Use impureIsAllowed | Eelco Dolstra | |
This fixes 'nix build nixpkgs:hello' without --impure. | |||
2019-04-16 | Improve incremental build | Eelco Dolstra | |
2019-04-16 | Remove dead function | Eelco Dolstra | |
2019-04-16 | Fix makeFlakeValue() | Eelco Dolstra | |
2019-04-16 | Add FIXME for pureEval | Eelco Dolstra | |