From ebdcfd6e4486b24f22cbe3c68b2c35beac4d4ae3 Mon Sep 17 00:00:00 2001 From: tilpner Date: Wed, 5 Sep 2018 11:17:39 +0200 Subject: Decouple from local presence of bitflip/kernelConfig --- default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/default.nix b/default.nix index ea2ec00..4916695 100644 --- a/default.nix +++ b/default.nix @@ -1,9 +1,12 @@ -{ pkgs }: +{ pkgs ? import ./nixpkgs.nix }: with pkgs; with lib; -rec { +let + inherit (pkgs.nur.repos.tilpner.pkgs) + bitflip kernelConfig; +in rec { qemu = (pkgs.qemu.override { sdlSupport = false; vncSupport = false; @@ -22,7 +25,7 @@ rec { baseKernelPackages = linuxPackages; - kconfig = kernel-config.override { + kconfig = kernelConfig.override { linux = baseKernelPackages.kernel; } { config = { -- cgit v1.2.3