6ce3c62dd3
tests/nix-profile.sh: adjust for UI changes
2022-03-05 02:25:25 +01:00
Eelco Dolstra
d4538034b7
nix profile test: Restart daemon
...
Fixes
nix-daemon: src/libstore/sqlite.cc:97: nix::SQLiteStmt::Use::Use(nix::SQLiteStmt&): Assertion `stmt.stmt' failed.
which happens because the daemon doesn't properly handle the case
where ca-derivations isn't enabled at daemon startup.
2022-03-02 23:08:49 +01:00
Eelco Dolstra
d2586188fe
tests/common.sh.in: Add enableFeatures helper
2022-03-02 21:48:25 +01:00
Eelco Dolstra
f9375778ae
nix profile: Add a test for non-flake packages
2022-03-02 20:56:40 +01:00
Eelco Dolstra
161f798aa1
nix profile: Support CA derivations
2022-03-02 20:38:51 +01:00
Eelco Dolstra
5850fd17b4
Add basic tests for 'nix profile'
...
Fixes #6193 .
2022-03-02 14:40:46 +01:00
Eelco Dolstra
c10865a46e
tests: Rename nix-profile.sh -> bash-profile.sh
2022-03-02 11:21:00 +01:00
Eelco Dolstra
9348f9291e
nix-env: Create ~/.nix-profile automatically
2019-10-09 23:35:01 +02:00
Eelco Dolstra
26762ceb86
nix-profile.sh: Don't create .nix-channels
...
This is already done by the installer, so no need to do it again.
2019-10-09 23:35:01 +02:00
Eelco Dolstra
5a303093dc
Remove world-writability from per-user directories
...
'nix-daemon' now creates subdirectories for users when they first
connect.
Fixes #509 (CVE-2019-17365).
Should also fix #3127 .
2019-10-09 23:34:48 +02:00
Eelco Dolstra
759ac27f28
Fix nix-profile test in a chroot
...
http://hydra.nixos.org/build/36462078
2016-05-31 13:07:24 +02:00
Eelco Dolstra
bac123ddd9
Test the NAR info cache
2016-05-30 15:18:12 +02:00
Shea Levy
7186539711
nix-profile test: Set USER
2016-04-13 10:43:33 -04:00
Eelco Dolstra
762ef464f8
Fix the nix-profile test
2014-02-01 15:37:50 +01:00
Eelco Dolstra
0a4e90395c
Urgggh
...
http://hydra.nixos.org/build/3661100
2013-01-02 23:52:15 +01:00
Eelco Dolstra
09eb230900
Fix test
...
http://hydra.nixos.org/build/3031382
2012-09-14 09:39:54 -04:00
Eelco Dolstra
1bda006b74
Add a test for nix-profile.sh
2012-09-13 17:58:14 -04:00