Haskellator/shell.nix

21 lines
433 B
Nix
Raw Normal View History

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