nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 haskell,
3 haskellPackages,
4 lib,
5}:
6
7let
8 inherit (haskell.lib.compose) justStaticExecutables overrideCabal;
9
10 generated = haskellPackages.callPackage ./generated.nix { };
11
12 overrides = {
13 version = lib.fileContents ./version.txt;
14
15 passthru.updateScript = ./update.sh;
16
17 description = "Purely functional programming language based on lambda calculus and de Bruijn indices";
18 homepage = "https://bruijn.marvinborner.de/";
19 };
20in
21
22lib.pipe generated [
23 (overrideCabal overrides)
24 justStaticExecutables
25]