Haskellator now building in Nix

This commit is contained in:
Yehowshua Immanuel 2024-11-17 14:34:27 +00:00
parent 4b34fbf826
commit d4a047e528
2 changed files with 13 additions and 1 deletions

View file

@ -12,7 +12,7 @@ let
haskellPackages.prettyprinter
];
in
pkgs.haskellPackages.mkDerivation {
haskellPackages.mkDerivation {
pname = "haskellator";
version = "0.1.0.0";
src = ./.;

12
shell.nix Normal file
View file

@ -0,0 +1,12 @@
{ pkgs ? import (fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/refs/tags/24.05.tar.gz";
}) {} }:
let
haskellator = pkgs.callPackage ./default.nix {};
in
pkgs.mkShell {
buildInputs = [
haskellator
];
}