nix package definition for development
authorGabor X Toth <*@tg-x.net>
Fri, 30 Sep 2016 15:35:47 +0000 (15:35 +0000)
committerGabor X Toth <*@tg-x.net>
Fri, 30 Sep 2016 15:35:47 +0000 (15:35 +0000)
default.nix

index 2e3f1458f7b13f9efa9a07eeadc2f4a1b7f24571..4e4a117c266c45c6c9e4ef5572ecbf6eb4bc930d 100644 (file)
@@ -49,11 +49,11 @@ let
   };
   usepkgs = if null == pkgs then
              import pinpkgs {}
-           else
-             if 0 == pkgs then
-               import <nixpkgs> { }
-             else
-               import pkgs {};
+            else
+              if 0 == pkgs then
+                import <nixpkgs> { }
+              else
+                import pkgs {};
 
 in with usepkgs; usepkgs.stdenv.mkDerivation rec {
   src = ./.;