aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortilpner2018-09-05 11:17:39 +0200
committertilpner2018-09-05 11:17:39 +0200
commitebdcfd6e4486b24f22cbe3c68b2c35beac4d4ae3 (patch)
tree176d9d5ced549e2761ce2e7c85fe98800a64b320
parent958fb2b074608bb5d0c40ed83925754dabd38e07 (diff)
downloadqeval-ebdcfd6e4486b24f22cbe3c68b2c35beac4d4ae3.tar.gz
qeval-ebdcfd6e4486b24f22cbe3c68b2c35beac4d4ae3.tar.xz
qeval-ebdcfd6e4486b24f22cbe3c68b2c35beac4d4ae3.zip
Decouple from local presence of bitflip/kernelConfig
-rw-r--r--default.nix9
1 files 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 = {