nixpkgs/default.nix

43 lines
1.1 KiB
Nix
Raw Normal View History

2020-02-13 17:29:49 +00:00
{ sources ? import ./nix/sources.nix, system ? builtins.currentSystem
, pkgs ? import sources.nixpkgs { inherit system; } }:
2020-02-01 17:09:13 +00:00
let
callPackage = pkgs.lib.callPackageWith (pkgs // self);
2020-02-05 04:07:19 +00:00
x = callPackage ./pkgs/x { };
2020-02-13 17:29:49 +00:00
quickserv = callPackage sources.quickserv { };
2020-02-13 21:50:49 +00:00
dhall = callPackage sources.easy-dhall-nix { };
2020-02-05 04:07:19 +00:00
2020-02-01 17:27:19 +00:00
self = {
2020-02-13 21:50:49 +00:00
# nix tools
2020-02-28 22:58:21 +00:00
dhallToNix = import ./pkgs/dhallToNix.nix;
dockerImage = callPackage ./pkgs/dockerImage.nix { };
2020-02-29 03:01:01 +00:00
srcNoTarget = import ./pkgs/srcNoTarget.nix;
2020-02-13 21:50:49 +00:00
# other
2020-02-01 17:27:19 +00:00
MoonPlus = callPackage ./pkgs/moonplus { };
2020-02-06 23:33:12 +00:00
minica = callPackage ./pkgs/minica { };
2020-02-13 21:50:49 +00:00
# dhall
dhall = dhall.dhall-simple;
dhall-bash = dhall.dhall-bash-simple;
dhall-nix = dhall.dhall-nix-simple;
dhall-json = dhall.dhall-json-simple;
dhall-yaml = dhall.dhall-yaml-simple;
2020-02-06 23:57:09 +00:00
# lojban
johaus = callPackage ./pkgs/johaus { };
jvozba = callPackage ./pkgs/jvozba { };
2020-02-10 21:39:06 +00:00
# Go tools
gopls = callPackage ./pkgs/gopls { };
2020-02-06 23:33:12 +00:00
# x
2020-02-05 04:07:19 +00:00
appsluggr = x.appsluggr;
license = x.license;
mainsanow = x.mainsanow;
prefix = x.prefix;
2020-02-13 17:29:49 +00:00
2020-02-13 21:50:49 +00:00
inherit quickserv x;
2020-02-01 17:27:19 +00:00
};
2020-02-01 17:09:13 +00:00
in self