-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.nix
More file actions
26 lines (25 loc) · 704 Bytes
/
Copy pathdefault.nix
File metadata and controls
26 lines (25 loc) · 704 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ pkgs ? import <nixpkgs> {} }:
let
inherit pkgs;
purescript = pkgs.haskellPackages.callPackage ./purescript.nix {};
in (import ./purescript-modules/default.nix {
pkgs = pkgs;
purescript = purescript;
stdenv = pkgs.stdenv;
}).callPackage ({ mkDerivation, prelude, eff, console }:
mkDerivation {
pname = "mine";
version = "0.1.0";
src = builtins.filterSource (path: type:
type != "unknown"
&& baseNameOf path != ".git"
&& baseNameOf path != "result"
&& baseNameOf path != "output"
) ./.;
purescriptDepends = [ prelude eff console ];
systemDepends = [ pkgs.nodejs ];
shellHook = ''
export PATH=node_modules/.bin:$PATH
'';
}
) {}