mirror of
https://github.com/ilyakooo0/haskell.nix.git
synced 2024-09-11 06:55:40 +03:00
* Include dependencies of haskell.nix that were tracked in `nix/sources.json` as flake inputs (`flake.lock` replaces `nix/sources.json`). * Use `flake-compat` to continue to provide a compatible interface for non flake projects. Co-authored-by: Alexander Bantyev <balsoft@balsoft.ru> Co-authored-by: Shea Levy <shea@shealevy.com>
16 lines
327 B
Nix
16 lines
327 B
Nix
{ pkgs ? import nixpkgs { }
|
|
, nixpkgs ? (import ../.. { }).sources.nixpkgs
|
|
}:
|
|
|
|
let
|
|
pkgs' = pkgs.pkgsCross.musl64;
|
|
haskellMusl64 = pkgs.callPackage ../.. { pkgs = pkgs'; };
|
|
|
|
test = haskellMusl64.callPackage ./default.nix {
|
|
inherit (pkgs') buildPackages;
|
|
};
|
|
|
|
in {
|
|
inherit (test) pandoc-gmp pandoc-integer-simple;
|
|
}
|