Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
hariamoor-mlabs
committed
Jun 24, 2022
1 parent
25dc6ab
commit 5aa0d92
Showing
4 changed files
with
60 additions
and
8 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
description = "Plutarch 2.0 (WIP)"; | ||
inputs = { | ||
flake-utils.url = "github:numtide/flake-utils"; | ||
}; | ||
outputs = { self, nixpkgs, flake-utils }: | ||
flake-utils.lib.simpleFlake { | ||
inherit self nixpkgs; | ||
name = "plutarch-core"; | ||
shell = ./shell.nix; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
{ pkgs ? import <nixpkgs> {} }: | ||
{ pkgs ? import <nixpkgs> { } }: | ||
with pkgs; | ||
let | ||
#mkDerivation = p: old: arg: old (arg // {libraryHaskellDepends = arg.libraryHaskellDepends ++ arg.testHaskellDepends;}); | ||
in haskell.packages.ghc922.shellFor { | ||
haskell.packages.ghc923.shellFor { | ||
packages = p: [ | ||
(p.callPackage ./plutarch-core.nix {}) | ||
(p.callPackage ./plutarch-core.nix { }) | ||
]; | ||
buildHoogle = false; | ||
buildInputs = [ cabal-install cabal2nix curl ]; | ||
buildInputs = [ cabal-install cabal2nix curl nixpkgs-fmt ]; | ||
} |