Haskellator/shell.nix
Artturin 6f8b8999b3 Use corpus package
Allow using the existing `rtlil-parse` from the nix-shell instead
of using cabal
2024-12-11 23:31:54 +02:00

21 lines
433 B
Nix

{
pkgs ? import (fetchTarball {
# nixos-unstable rev 2024-12-03
url = "https://github.com/NixOS/nixpkgs/archive/55d15ad12a74eb7d4646254e13638ad0c4128776.tar.gz";
}) { },
}:
let
haskellator = pkgs.callPackage ./default.nix { };
corpus = pkgs.callPackage ./rtlil-corpus/default.nix { };
in
pkgs.callPackage (
{ mkShell }:
mkShell {
CORPUS = corpus;
nativeBuildInputs = [
haskellator
];
}
) { }