about summary refs log tree commit diff
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2013-01-09 21:14:52 +0100
committeraszlig <aszlig@redmoonstudios.org>2013-01-09 21:14:52 +0100
commit9fd2436e9f6edd7f631c7b0c60c96975720bf666 (patch)
treee0587924c5e1be755bb7cc847b9043bc393473f8
parent7f2e3955a124e5f645537c5583b1a2f6bd321238 (diff)
collections: Avoid repetitious use of "with pkgs".
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
-rw-r--r--collections/aszlig.nix20
1 files changed, 11 insertions, 9 deletions
diff --git a/collections/aszlig.nix b/collections/aszlig.nix
index f820c749..45dea9fd 100644
--- a/collections/aszlig.nix
+++ b/collections/aszlig.nix
@@ -1,7 +1,9 @@
 pkgs:
 
+with pkgs;
+
 {
-  haskell = with pkgs.haskellPackages; [
+  haskell = with haskellPackages; [
     ghc cabalInstall hlint
     darcs
     diagrams
@@ -9,14 +11,14 @@ pkgs:
     hjsmin persistentSqlite
   ];
 
-  python = with pkgs.pythonPackages; [
+  python = with pythonPackages; [
     pkgs.python3
     pkgs.python
     pep8
     polib
   ];
 
-  shell = with pkgs; [
+  shell = [
     zsh dash
     taskwarrior
     screen
@@ -32,7 +34,7 @@ pkgs:
     vlock
   ];
 
-  multimedia = with pkgs; [
+  multimedia = [
     pulseaudio pvolctrl
     MPlayer
     vorbisTools
@@ -40,12 +42,12 @@ pkgs:
     mp3info
   ];
 
-  crypto = with pkgs; [
+  crypto = [
     gnupg1compat openssh
     keychain
   ];
 
-  dev = with pkgs; [
+  dev = [
     manpages
     posix_man_pages
     gitFull
@@ -55,20 +57,20 @@ pkgs:
     ltrace strace
   ];
 
-  net = with pkgs; [
+  net = [
     netrw
     nmap
     socat
   ];
 
-  x11 = with pkgs; [
+  x11 = [
     i3 i3lock i3status dmenu conky
     tkabber
     tkabber_plugins
     xpdf
   ];
 
-  misc = with pkgs; [
+  misc = [
     lastwatch
     chromiumBetaWrapper
     glxinfo