feat: nixos 20
This commit is contained in:
parent
63ba91ac97
commit
1a0058d027
9 changed files with 37 additions and 33 deletions
modules/dev
|
@ -3,10 +3,9 @@ let hie = pkgs.all-hies.selection { selector = p: { inherit (p) ghc865; }; };
|
|||
in {
|
||||
home-manager.users.adrielus.home = {
|
||||
file.".ghci".source = ./ghci;
|
||||
# file.".stack/config.yaml".source = ./stack.yaml;
|
||||
|
||||
packages = with pkgs;
|
||||
[ ghc ghcid hlint cabal-install snack stack hie ]
|
||||
++ (with haskellPackages; [ brittany hoogle hpack pointfree pointful ]);
|
||||
++ (with haskellPackages; [ brittany hoogle hpack pointfree ]);
|
||||
};
|
||||
}
|
||||
|
|
|
@ -7,4 +7,4 @@
|
|||
|
||||
:def pointfree \str -> return $ ":! pointfree " ++ show str
|
||||
:def pf \str -> return $ ":! pointfree " ++ show str
|
||||
:def pointful \str -> return $ ":! pointful " ++ show str
|
||||
-- :def pointful \str -> return $ ":! pointful " ++ show str
|
|
@ -1,14 +1,16 @@
|
|||
{ pkgs, ... }:
|
||||
let fromNpm = import ./npm { inherit pkgs; };
|
||||
let
|
||||
fromNpm = import ./npm { inherit pkgs; };
|
||||
node = pkgs.nodejs_latest;
|
||||
in {
|
||||
home-manager.users.adrielus.home.packages = with pkgs;
|
||||
with nodePackages;
|
||||
with fromNpm; [
|
||||
nodejs
|
||||
node
|
||||
node2nix
|
||||
|
||||
pnpm
|
||||
yarn
|
||||
(yarn.override { nodejs = node; })
|
||||
|
||||
tsdx
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue