diff options
author | tv <tv@krebsco.de> | 2015-10-25 02:32:19 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2015-10-25 02:32:19 +0100 |
commit | 31485cf0671ac9069ae1b483ae75e1aec1bc4fd6 (patch) | |
tree | d0afa0448656a93dec94b1eada485154b2606fe9 | |
parent | 24abe7e07b1785393f4e16317bd17465c71c7433 (diff) |
{tv cfgs => krebs pkgs} writeNixFromCabal
-rw-r--r-- | tv/2configs/xserver/default.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tv/2configs/xserver/default.nix b/tv/2configs/xserver/default.nix index 9e20bda..facdf6d 100644 --- a/tv/2configs/xserver/default.nix +++ b/tv/2configs/xserver/default.nix @@ -73,9 +73,7 @@ let }; xmonad-pkg = pkgs.haskellPackages.callPackage xmonad-src {}; - xmonad-src = pkgs.runCommand "xmonad-package" {} '' - ${pkgs.cabal2nix}/bin/cabal2nix ${./xmonad} > $out - ''; + xmonad-src = pkgs.writeNixFromCabal "xmonad.nix" ./xmonad; xmonad-environment = { DISPLAY = ":${toString config.services.xserver.display}"; |