aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-11-22Merge pull request #5613 from tomberek/allow_realpathEelco Dolstra
add real path to allowedPaths
2021-11-22Merge pull request #5620 from alyssais/waylandEelco Dolstra
nix-shell --pure: let variables for Wayland through
2021-11-22Merge pull request #5596 from SuperSandro2000/shellcheckEelco Dolstra
Apply some shellcheck suggestions
2021-11-22Merge pull request #5608 from tweag/fix-build-warnings-on-macosThéophane Hufschmitt
Fix build warnings on MacOS
2021-11-22Unify #if linuxAlex Shabalin
2021-11-21nix-shell --pure: let variables for Wayland throughAlyssa Ross
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).
2021-11-20add real path to allowedPathsTom Bereknyei
2021-11-19Fix build warnings on MacOSAlex Shabalin
2021-11-19Apply some shellcheck suggestionsSandro Jäckel
2021-11-19Merge pull request #5607 from kmt-lnh/install-ergonomicsEelco Dolstra
curl usage in install script in sync with instructions
2021-11-19Merge pull request #5597 from edolstra/remove-old-scriptsEelco Dolstra
Remove nix-reduce-build and nix-http-export
2021-11-19switch order of wget and curlKristof Molnar-Tatai
This change makes the script consistent with the installation instructions while keeping wget as an alternative.
2021-11-19Merge pull request #5598 from obsidiansystems/fix-daemon-testsThéophane Hufschmitt
Fix testing the other daemon
2021-11-18Fix testing the other daemonJohn Ericson
The eventual PATH entry needs the `.../bin` or we will not use the right daemon.
2021-11-18Remove nix-reduce-build and nix-http-exportEelco Dolstra
These scripts are not installed and haven't been updated in many years.
2021-11-18Merge pull request #5595 from lorenzleutgeb/patch-2Eelco Dolstra
doc: Fix escape for operator "logical or"
2021-11-18doc: Fix escape for operator "logical or"Lorenz Leutgeb
See https://matrix.to/#/!KqkRjyTEzAGRiZFBYT:nixos.org/$hhMb6AdRIXfRkv_LsNsiQJuch7AQ_b6szr4tfawFy-4
2021-11-18Merge pull request #5585 from jtojnar/env-aEelco Dolstra
doc: De-emphasize nix-env without -A
2021-11-18Test that untrusted config is ignored without --accept-flake-configEelco Dolstra
2021-11-18Merge branch 'accept_conf' of https://github.com/tomberek/nixEelco Dolstra
2021-11-18Merge pull request #5568 from ↵Eelco Dolstra
NixOS/dependabot/github_actions/cachix/install-nix-action-15 Bump cachix/install-nix-action from 14.1 to 15
2021-11-18Merge pull request #5569 from ↵Eelco Dolstra
NixOS/dependabot/github_actions/zeebe-io/backport-action-0.0.7 Bump zeebe-io/backport-action from 0.0.5 to 0.0.7
2021-11-18Merge pull request #5580 from ksonj/fix/non-standard-sshEelco Dolstra
Fix detection of scp-style URIs to support non-standard SSH ports
2021-11-18SimplifyEelco Dolstra
2021-11-18Merge branch 'faridzakaria/fix-stack-buffer-overflow' of ↵Eelco Dolstra
https://github.com/fzakaria/nix
2021-11-18Merge pull request #5586 from tweag/fix-stdout-for-editors-in-replEelco Dolstra
Fix :e in repl
2021-11-18Merge pull request #5583 from jtojnar/patch-1Eelco Dolstra
Fix XDG_CONFIG_DIRS fallback
2021-11-18Merge pull request #5581 from edolstra/parse-callsEelco Dolstra
Parse '(f x) y' the same as 'f x y'
2021-11-18Fix :e in replAlex Shabalin
Closes https://github.com/NixOS/nix/issues/5487 Co-authored-by: Alexander Bantyev balsoft@balsoft.ru
2021-11-18Fix stack buffer overflowFarid Zakaria
Fix a stack buffer overflow found by running MemorySanitizer.
2021-11-17doc: De-emphasize nix-env without -AJan Tojnar
The manual uses `nix-env -i` without `-A` prominently, teaching a bad practice to newcomers.
2021-11-17Fix XDG_CONFIG_DIRS fallbackJan Tojnar
According to XDG Base Directory Specification, it should fall back to /etc/xdg when the env var is not present.
2021-11-17Simplify fix by disallowing / in front of @ to match scp styleKalle Jepsen
2021-11-17Merge pull request #5573 from Ericson2314/docker-nixpkgs-idiomsEelco Dolstra
Make docker.nix match Nixpkgs's idioms
2021-11-17Parse '(f x) y' the same as 'f x y'Eelco Dolstra
(cherry picked from commit 5253cb4b68ad248f37b27849c0ebf3614e4f2777)
2021-11-17Fix detection of scp-style URIs to support non-standard SSH ports for gitKalle Jepsen
2021-11-16Merge pull request #5578 from edolstra/call-functorEelco Dolstra
Call functors with both arguments at once
2021-11-16Call functors with both arguments at onceEelco Dolstra
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.
2021-11-16Merge pull request #5575 from edolstra/attrset-callEelco Dolstra
Don't hang when calling an attrset
2021-11-16Don't hang when calling an attrsetEelco Dolstra
Fixes #5565.
2021-11-16Make docker.nix match Nixpkgs's idiomsJohn Ericson
1. `target` is the wrong name, that is just for compilers per out standard terminology. We just need to worry about "build" and "host". 2. We only need one `pkgs`. `pkgs.buildPackages` is how we get anything we need at build time. 3. `crossSystem` is the name of a nixpkgs parameter that is actually an attribute set, not a 2-part "cpu-os" string. 3. `pkgsCross` effectively evaluates Nixpkgs twice, which is inefficient. It is just there for people poking around the CLI / REPL (and I am skeptical even that is a good idea), and *not* what written code should use, especially code that is merely parametric in the package set it is given. 4. We don't need to memoize Nixpkgs here because we are only doing one pkg set at a time (no `genAttrs`) so it's better to just delete all this stuff. `flake.nix` instead would do something like that, with `genAttrs` (though without `pkgsCross`), if and when we have hydra jobs for cross builds.
2021-11-16Ignore errors unsharing/restoring the mount namespaceEelco Dolstra
This prevents Nix from barfing when run in a container where it doesn't have the appropriate privileges.
2021-11-16Merge branch 'add-docker-image-to-hydra-jobs' of https://github.com/garbas/nixEelco Dolstra
2021-11-16Merge pull request #5452 from Kha/git-extend-lockEelco Dolstra
git: extend cache dir lock over all mutating operations
2021-11-16Merge pull request #5472 from NixOS/async-realisation-substitutionEelco Dolstra
async realisation substitution
2021-11-16Merge pull request #5559 from Kloenk/libfetchers-gitlab-headersEelco Dolstra
libfetchers: set free gitlab headers
2021-11-15Bump zeebe-io/backport-action from 0.0.5 to 0.0.7dependabot[bot]
Bumps [zeebe-io/backport-action](https://github.com/zeebe-io/backport-action) from 0.0.5 to 0.0.7. - [Release notes](https://github.com/zeebe-io/backport-action/releases) - [Commits](https://github.com/zeebe-io/backport-action/compare/v0.0.5...v0.0.7) --- updated-dependencies: - dependency-name: zeebe-io/backport-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15Bump cachix/install-nix-action from 14.1 to 15dependabot[bot]
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 14.1 to 15. - [Release notes](https://github.com/cachix/install-nix-action/releases) - [Commits](https://github.com/cachix/install-nix-action/compare/v14.1...v15) --- updated-dependencies: - dependency-name: cachix/install-nix-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15Merge branch 'master' of github.com:NixOS/nixEelco Dolstra
2021-11-15Simplify lockFlake() a bitEelco Dolstra