diff options
author | tv <tv@krebsco.de> | 2016-02-11 03:47:26 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-02-11 03:47:26 +0100 |
commit | 0cf6d065f43c66efadd0a364c3414e6ecdae0004 (patch) | |
tree | 85b2af1878da06a7f1104e6f2d91439e179f2efc /lass | |
parent | 8b130a66287b829e7b6f9be0130df7231c7a6605 (diff) |
*: turn 5pkgs into a(n optional) module
Diffstat (limited to 'lass')
-rw-r--r-- | lass/5pkgs/default.nix | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/lass/5pkgs/default.nix b/lass/5pkgs/default.nix index 2b9582912..fee4654ae 100644 --- a/lass/5pkgs/default.nix +++ b/lass/5pkgs/default.nix @@ -3,15 +3,16 @@ let inherit (pkgs) callPackage; in - -rec { - firefoxPlugins = { - noscript = callPackage ./firefoxPlugins/noscript.nix {}; - ublock = callPackage ./firefoxPlugins/ublock.nix {}; - vimperator = callPackage ./firefoxPlugins/vimperator.nix {}; +{ + nixpkgs.config.packageOverrides = rec { + firefoxPlugins = { + noscript = callPackage ./firefoxPlugins/noscript.nix {}; + ublock = callPackage ./firefoxPlugins/ublock.nix {}; + vimperator = callPackage ./firefoxPlugins/vimperator.nix {}; + }; + newsbot-js = callPackage ./newsbot-js/default.nix {}; + xmonad-lass = + let src = pkgs.writeNixFromCabal "xmonad-lass.nix" ./xmonad-lass; in + pkgs.haskellPackages.callPackage src {}; }; - newsbot-js = callPackage ./newsbot-js/default.nix {}; - xmonad-lass = - let src = pkgs.writeNixFromCabal "xmonad-lass.nix" ./xmonad-lass; in - pkgs.haskellPackages.callPackage src {}; } |