dhall-haskell/flake.nix

36 lines
1.0 KiB
Nix
Raw Normal View History

2019-10-29 15:47:02 +01:00
{
edition = 201909;
description = "The non-repetitive alternative to YAML";
inputs = {
nixpkgs = {
uri =
"git+https://github.com/nixos/nixpkgs.git?ref=18.09-beta&rev=1d4de0d552ae9aa66a5b8dee5fb0650a4372d148";
flake = false;
};
nixpkgsStaticLinux = {
uri =
"git+https://github.com/nh2/nixpkgs.git?ref=static-haskell-nix-stack-dhall-working";
flake = false;
};
};
outputs = { self, nixpkgs, nixpkgsStaticLinux }: {
hydraJobs.x86_64-linux = import ./release.nix {
2019-10-29 15:47:02 +01:00
inherit nixpkgs nixpkgsStaticLinux;
system = "x86_64-linux";
};
packages.x86_64-linux = with self.hydraJobs.x86_64-linux; {
2019-10-29 15:47:02 +01:00
dhall = linux-dhall;
dhall-bash = linux-dhall-bash;
dhall-json = linux-dhall-json;
dhall-lsp-server = linux-dhall-lsp-server;
dhall-nix = linux-dhall-nix;
};
defaultPackage.x86_64-linux = self.packages.x86_64-linux.dhall;
checks.x86_64-linux = { inherit (self.hydraJobs.x86_64-linux) coverage-dhall; };
2019-10-29 15:47:02 +01:00
};
}