diff options
author | aszlig <aszlig@redmoonstudios.org> | 2015-04-29 06:24:40 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2015-04-29 06:24:40 +0200 |
commit | 23a7bc6a7590ebced5828e09c09d6e7a39188d74 (patch) | |
tree | 5e14ae67b83b02df5ef6243e9e99830c24c756d5 /machines/labnet | |
parent | 4d1787da3fa6bacc8a187fad8a01414011ea1f34 (diff) |
Handle all <nixpkgs> paths with nixpkgs-path.nix.
This file is just defaulting to <nixpkgs>, but we're going to substitue it by the channel generator. We also need to make sure that we don't have any other references to <nixpkgs>, but the latter can best be done on Hydra's side if we don't make <nixpkgs> available to vuizvui builds. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'machines/labnet')
-rw-r--r-- | machines/labnet/labtop.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/machines/labnet/labtop.nix b/machines/labnet/labtop.nix index 56fbbebf..ac11f224 100644 --- a/machines/labnet/labtop.nix +++ b/machines/labnet/labtop.nix @@ -1,4 +1,4 @@ -{ pkgs, lib, ... }: +{ pkgs, lib, modulesPath, ... }: let greybird = pkgs.stdenv.mkDerivation { @@ -24,7 +24,7 @@ let }; in { - imports = [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> ]; + imports = [ "${modulesPath}/installer/scan/not-detected.nix" ]; boot.loader.grub.device = "/dev/disk/by-id/ata-HITACHI_HTS722010K9SA00_080711DP0270DPGLVMPC"; |