From 03026b7bb95a6713f4d50b841abadabb343f83d2 Mon Sep 17 00:00:00 2001 From: Moritz Angermann Date: Tue, 11 Dec 2018 09:15:28 +0800 Subject: [PATCH] Adds cabal-generator --- modules/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/package.nix b/modules/package.nix index 3ad29d0c..964c42fb 100644 --- a/modules/package.nix +++ b/modules/package.nix @@ -189,6 +189,10 @@ in { default = pkgs.fetchurl { url = "mirror://hackage/${config.name}.tar.gz"; inherit (config) sha256; }; defaultText = "pkgs.fetchurl { url = \"mirror://hackage/\${config.name}.tar.gz\"; inherit (config) sha256; };"; }; + cabal-generator = mkOption { + type = nullOr str; + default = null; + }; revision = mkOption { type = nullOr int; default = null;