Files
nixos-template-base/applications/graphical/developpement-haskell.nix

19 lines
459 B
Nix
Raw Normal View History

2016-07-10 22:06:26 +02:00
{ config, lib, pkgs, ... }:
2016-07-10 22:06:26 +02:00
let
2016-08-12 12:46:36 +02:00
inherit (lib) mkIf mkMerge mkThenElse;
annuaire = config.r6d.machines;
currentMachine = annuaire."${config.networking.fqdn}";
flags = currentMachine.configurationFlags;
2016-08-08 22:58:30 +02:00
in
2017-04-27 22:06:12 +02:00
mkIf (flags.developpement-haskell && flags.graphical) {
2016-08-12 12:46:36 +02:00
# Paquets
environment.systemPackages = with pkgs; [
] ++ (with pkgs.haskellPackages; [
# Haskell lib
#threadscope # visualisation des threads (<bidule>.eventlog)
]);
}