Haskellator now building in Nix
This commit is contained in:
parent
4b34fbf826
commit
d4a047e528
2 changed files with 13 additions and 1 deletions
|
@ -12,7 +12,7 @@ let
|
||||||
haskellPackages.prettyprinter
|
haskellPackages.prettyprinter
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
pkgs.haskellPackages.mkDerivation {
|
haskellPackages.mkDerivation {
|
||||||
pname = "haskellator";
|
pname = "haskellator";
|
||||||
version = "0.1.0.0";
|
version = "0.1.0.0";
|
||||||
src = ./.;
|
src = ./.;
|
||||||
|
|
12
shell.nix
Normal file
12
shell.nix
Normal 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
|
||||||
|
];
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue