Eisfunke's Lix Fork
Find a file
Travis A. Everett 1f02b65c59 fix xpath and conditional bugs; xpath -> xmllint
- xpath -> xmllint: xpath's cli interface changed in Big Sur
  rather than add conditional logic for picking the correct
  syntax for xpath, I'm changing to xmllint --xpath, which
  appears to be consistent across versions I've tested...

- /plist/dict/key[text()='Writable']/following-sibling::true[1]
  doesn't do quite what's expected. It was written to try to
  select a <true /> node paired with the Writable key, but it
  will also select the *next* <true /> node that appears even
  if it was paired with another key.

- I think there's also a logic bug in the conditionals here.
  I'm not sure anyone ever actuall saw it, thanks to the xpath
  bug, though. With the xpath fix, this conditional passes if /nix
  does not exist, / IS writable, and the version is Catalina+.

  I think it meant to test for /nix does not exist, / is NOT
  writable, and the version is Catalina+. I reworked this lightly
  to make it a little clearer at the code level.
2020-10-19 12:23:29 -05:00
.github speed up CI 2020-08-30 22:52:34 +02:00
config
contrib
corepkgs
doc/manual Merge #3982: Minor docs updates 2020-09-07 21:54:59 +02:00
m4
maintainers
misc
mk Close stdin while running tests 2020-08-28 18:43:34 +02:00
nix-rust
perl
scripts fix xpath and conditional bugs; xpath -> xmllint 2020-10-19 12:23:29 -05:00
src Remove gc-check-reachability 2020-09-03 11:30:15 +02:00
tests Remove the --indirect flag 2020-09-03 11:22:00 +02:00
.dir-locals.el
.editorconfig
.gitignore Generate builtins section of the manual 2020-08-24 14:49:30 +02:00
.version
bootstrap.sh
configure.ac
COPYING
default.nix
flake.lock Fix clang build 2020-08-24 21:13:39 +02:00
flake.nix Merge remote-tracking branch 'origin/master' into markdown 2020-09-01 09:48:08 +02:00
local.mk
Makefile
Makefile.config.in
precompiled-headers.h
README.md README: update link to Hacking section 2020-09-01 12:05:49 -07:00
shell.nix

Nix

Open Collective supporters Test

Nix is a powerful package manager for Linux and other Unix systems that makes package management reliable and reproducible. Please refer to the Nix manual for more details.

Installation

On Linux and macOS the easiest way to Install Nix is to run the following shell command (as a user other than root):

$ curl -L https://nixos.org/nix/install | sh

Information on additional installation methods is available on the Nix download page.

Building And Developing

See our Hacking guide in our manual for instruction on how to build nix from source with nix-build or how to get a development environment.

Additional Resources

License

Nix is released under the LGPL v2.1.