]> git.scottworley.com Git - pinch/commit - tests/multi-update.sh
Tests use a private /nix/store
authorScott Worley <scottworley@scottworley.com>
Thu, 11 Jun 2020 20:33:18 +0000 (13:33 -0700)
committerScott Worley <scottworley@scottworley.com>
Thu, 11 Jun 2020 20:33:18 +0000 (13:33 -0700)
commit4af9966c73666ed77a7a4c0dc498bfba1e853070
treeda50c8ed7143310da577060fa82b279273a0b095
parent1b48018c3d40a9f70ac98aa3d3112fc5d8cb2201
Tests use a private /nix/store

This allows the tests to run inside a nix build.  Otherwise, it fails with

  error: creating directory '/nix/var': Permission denied

Bonus: This avoids polluting the real store with test artifacts.

See also https://github.com/NixOS/nix/issues/13
tests/alias.sh
tests/core.sh
tests/lib/test-setup.sh
tests/multi-update.sh
tests/pin-twice.sh