l 5: callPackage -> pkgs.callPackage

This commit is contained in:
lassulus 2016-02-17 15:00:52 +01:00
parent f23bf841b7
commit a9ee56451d

View File

@ -1,16 +1,13 @@
{ pkgs, ... }: { pkgs, ... }:
let
inherit (pkgs) callPackage;
in
{ {
nixpkgs.config.packageOverrides = rec { nixpkgs.config.packageOverrides = rec {
firefoxPlugins = { firefoxPlugins = {
noscript = callPackage ./firefoxPlugins/noscript.nix {}; noscript = pkgs.callPackage ./firefoxPlugins/noscript.nix {};
ublock = callPackage ./firefoxPlugins/ublock.nix {}; ublock = pkgs.callPackage ./firefoxPlugins/ublock.nix {};
vimperator = callPackage ./firefoxPlugins/vimperator.nix {}; vimperator = pkgs.callPackage ./firefoxPlugins/vimperator.nix {};
}; };
newsbot-js = callPackage ./newsbot-js/default.nix {}; newsbot-js = pkgs.callPackage ./newsbot-js/default.nix {};
xmonad-lass = xmonad-lass =
let src = pkgs.writeNixFromCabal "xmonad-lass.nix" ./xmonad-lass; in let src = pkgs.writeNixFromCabal "xmonad-lass.nix" ./xmonad-lass; in
pkgs.haskellPackages.callPackage src {}; pkgs.haskellPackages.callPackage src {};