-
Notifications
You must be signed in to change notification settings - Fork 72
/
release.nix
29 lines (25 loc) · 844 Bytes
/
release.nix
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
27
28
29
let
overlay = pkgsNew: pkgsOld: {
haskellPackages = pkgsOld.haskellPackages.override (old: {
overrides =
pkgsNew.lib.fold pkgsNew.lib.composeExtensions
(old.overrides or (_: _: { }))
[ (pkgsNew.haskell.lib.packageSourceOverrides {
pipes = ./.;
})
(pkgsNew.haskell.lib.packagesFromDirectory {
directory = ./nix;
})
(haskellPackagesNew: haskellPackagesOld: {
})
];
});
};
nixpkgs = builtins.fetchTarball {
url = "https://github.com/NixOs/nixpkgs/archive/1b55bc5d4b5cb6b35d71e7fe22cae9558c312937.tar.gz";
sha256 = "05761c8bi6chlj15428h3k30r8b8g4w3h0m4xpsj6f9qcz27d9nf";
};
pkgs = import nixpkgs { config = { }; overlays = [ overlay ]; };
in
{ pipes = pkgs.haskellPackages.pipes;
}