From fe68926931b280aaf29808566b49b2e704e8556a Mon Sep 17 00:00:00 2001 From: Justin Bedo Date: Thu, 4 Oct 2018 12:06:54 +1000 Subject: Refactor to use bionix tree directly --- tools/crumble-toCram.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tools/crumble-toCram.nix') diff --git a/tools/crumble-toCram.nix b/tools/crumble-toCram.nix index 6b2431f..2544e17 100644 --- a/tools/crumble-toCram.nix +++ b/tools/crumble-toCram.nix @@ -1,15 +1,15 @@ -{ stdenv -, lib -, callPackage -, crumble ? callPackage ./crumble-app.nix {} -, flags ? null}: +{ bionix +, nixpkgs +, flags ? null +}: +with nixpkgs; with lib; input: stdenv.mkDerivation { name = "crumble"; - buildInputs = [ crumble ]; + buildInputs = [ bionix.crumble.crumble ]; buildCommand = "crumble ${optionalString (flags != null) flags} ${input} $out"; } -- cgit v1.2.3