Age | Commit message (Collapse) | Author |
|
add real path to allowedPaths
|
|
nix-shell --pure: let variables for Wayland through
|
|
|
|
We let DISPLAY (X11) through, so we should let the Wayland equivalents
through as well. Similarly, we let HOME through, so it should be okay
to allow XDG_RUNTIME_DIR (which is needed for connecting to Wayland
with WAYLAND_DISPLAY) through as well. Otherwise graphical
applications will either fall back to X11 (if they support it), or
just not work (if they don't).
|
|
|
|
|
|
|
|
Fix detection of scp-style URIs to support non-standard SSH ports
|
|
|
|
https://github.com/fzakaria/nix
|
|
Fix :e in repl
|
|
Fix XDG_CONFIG_DIRS fallback
|
|
Closes https://github.com/NixOS/nix/issues/5487
Co-authored-by: Alexander Bantyev balsoft@balsoft.ru
|
|
Fix a stack buffer overflow found by running MemorySanitizer.
|
|
According to XDG Base Directory Specification,
it should fall back to /etc/xdg when the env var is not present.
|
|
|
|
(cherry picked from commit 5253cb4b68ad248f37b27849c0ebf3614e4f2777)
|
|
|
|
This is not really useful on its own, but it does recover the
'infinite recursion' error message for '{ __functor = x: x; } 1', and
is more efficient in conjunction with #3718.
Fixes #5515.
|
|
Fixes #5565.
|
|
This prevents Nix from barfing when run in a container where it
doesn't have the appropriate privileges.
|
|
git: extend cache dir lock over all mutating operations
|
|
async realisation substitution
|
|
libfetchers: set free gitlab headers
|
|
|
|
|
|
https://github.com/tweag/nix
|
|
toJSON: report error position for fancier output
|
|
|
|
- This change applies to builtins.toXML and inner workings
- Proof of concept:
```nix
let e = builtins.toXML e; in e
```
- Before:
```
$ nix-instantiate --eval poc.nix
error: infinite recursion encountered
```
- After:
```
$ nix-instantiate --eval poc.nix
error: infinite recursion encountered
at /data/github/kamadorueda/nix/poc.nix:1:9:
1| let e = builtins.toXML e; in e
|
```
|
|
|
|
|
|
nix key: Fix error message and don't require flakes
|
|
This is part of the flakes feature. Mark it as such.
|
|
|
|
When an input follows disappears, we can't just reuse the old lock
file entries since we may be missing some required ones. Refetch the
input when this happens.
Closes https://github.com/NixOS/nix/issues/5289
|
|
Recognize singular "nixosModule" in nix flake show
|
|
This makes nixosModule appears as a "NixOS Module" like nixosModules
does.
|
|
Allow references in addPath
|
|
Co-Authored-By: Eelco Dolstra <edolstra@gmail.com>
|
|
Doing it as a side-effect of calling LocalStore::makeStoreWritable()
is very ugly.
Also, make sure that stopping the progress bar joins the update
thread, otherwise that thread should be unshared as well.
|
|
|
|
Support building flakes from a Git repo url with submodules
|
|
Make the flake options work when using the daemon
|
|
The requirement for the symbol has been removed since at least 7d47498.
|
|
Since 4806f2f6b0fd2cae401b89fe19d8c528ffd88b5f, we can't have paths with
references passed to builtins.{path,filterSource}. This prevents many cases
of those functions called on IFD outputs from working. Resolve this by
passing the references found in the original path to the added path.
|
|
Fix `nix repl`’s building of CA derivations
|
|
When setting flake-local options (with the `nixConfig` field), forward
these options to the daemon in case we’re using one.
This is necessary in particular for options like `binary-caches` or
`post-build-hook` to make sense.
Fix <https://github.com/NixOS/nix/commit/343239fc8a1993f707a990c2cd54a41f1fa3de99#r44356843>
|
|
When running a `:b` command in the repl, after building the derivations
query the store for its outputs rather than just assuming that they are
known in the derivation itself (which isn’t true for CA derivations)
Fix #5328
|
|
|