1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-30 06:59:45 +01:00
home-manager/.travis.yml
Robert Helgesson 25ddbf4824
home-manager: use nix-env to list generations
Using the `nix-env` command is far more robust. It also has the
benefit that if the per-user `profiles` and `gcroots` directories do
not exist then they will be created with the correct permissions.

Because of the second point this commit also removes the `mkdir` step
of the installation instructions.

PR #1239
Closes #474, #948, #1091

(cherry picked from commit 9ec9f004e1)
2020-05-20 23:43:24 +02:00

10 lines
141 B
YAML

language: nix
os:
- linux
- osx
script:
- ./format -c
- nix-shell . -A install
- nix-shell --pure --max-jobs 10 tests -A run.all