diff options
author | lassulus <lass@aidsballs.de> | 2016-02-17 15:00:52 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-02-20 02:02:07 +0100 |
commit | a278c6588750c09f97e83c53d86aef5ec82a7bcd (patch) | |
tree | 3271af2b8f3847d4265a1e34c2e95669e78d9ecb /lass | |
parent | 9d519dd4d28d05f0fb86f742fedaa6a505522a4b (diff) |
l 5: callPackage -> pkgs.callPackage
Diffstat (limited to 'lass')
-rw-r--r-- | lass/5pkgs/default.nix | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/lass/5pkgs/default.nix b/lass/5pkgs/default.nix index fee4654ae..ce29ae33c 100644 --- a/lass/5pkgs/default.nix +++ b/lass/5pkgs/default.nix @@ -1,16 +1,13 @@ { pkgs, ... }: -let - inherit (pkgs) callPackage; -in { nixpkgs.config.packageOverrides = rec { firefoxPlugins = { - noscript = callPackage ./firefoxPlugins/noscript.nix {}; - ublock = callPackage ./firefoxPlugins/ublock.nix {}; - vimperator = callPackage ./firefoxPlugins/vimperator.nix {}; + noscript = pkgs.callPackage ./firefoxPlugins/noscript.nix {}; + ublock = pkgs.callPackage ./firefoxPlugins/ublock.nix {}; + vimperator = pkgs.callPackage ./firefoxPlugins/vimperator.nix {}; }; - newsbot-js = callPackage ./newsbot-js/default.nix {}; + newsbot-js = pkgs.callPackage ./newsbot-js/default.nix {}; xmonad-lass = let src = pkgs.writeNixFromCabal "xmonad-lass.nix" ./xmonad-lass; in pkgs.haskellPackages.callPackage src {}; |