pass nixos path explicitly

This commit is contained in:
Jaka Hudoklin 2019-05-03 23:25:49 +02:00
parent 7b148cd171
commit e4493addd8
No known key found for this signature in database
GPG key ID: 916062A1C4748647
4 changed files with 15 additions and 9 deletions

8
ci.nix
View file

@ -1,7 +1,11 @@
let
pkgs = import (builtins.fetchTarball "https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz") {};
nixpkgsSrc = builtins.fetchTarball "https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz";
pkgs = import nixpkgsSrc {};
lib = pkgs.lib;
release = import ./release.nix { inherit pkgs lib; };
release = import ./release.nix {
inherit pkgs lib;
nixosPath = "${nixpkgsSrc}/nixos";
};
in with lib; release.test-results