Skip to content

Commit

Permalink
Remove Nix Plutarch wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
t4ccer authored and gnumonik committed Mar 6, 2024
1 parent 6349472 commit ed35645
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 75 deletions.
15 changes: 13 additions & 2 deletions default.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
{
perSystem = { self', config, ... }:
perSystem = { self', pkgs, config, ... }:
let
purus = config.libPlutarch.mkPackage {
cardanoPackages = pkgs.fetchFromGitHub {
owner = "input-output-hk";
repo = "cardano-haskell-packages";
rev = "3df392af2a61d61bdac1afd9c3674f27d6aa8efc"; # branch: repo
hash = "sha256-vvm56KzA6jEkG3mvwh1LEdK4H4FKxeoOJNz90H8l8dQ=";
};

purus = config.libHaskell.mkPackage {
name = "purus";
src = ./.;

externalRepositories = {
"https://input-output-hk.github.io/cardano-haskell-packages" = cardanoPackages;
};
};
in
{
Expand Down
1 change: 0 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
let
flakeModules = {
haskell = ./nix/haskell;
plutarch = ./nix/plutarch;
utils = ./nix/utils;
};
in
Expand Down
2 changes: 2 additions & 0 deletions nix/haskell/mk-hackage.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Adapted from https://github.com/mlabs-haskell/mlabs-tooling.nix/blob/cd0cf0d29f17980befe384248c16937589912c69/mk-hackage.nix

{ gzip
, runCommand
, lib
Expand Down
28 changes: 0 additions & 28 deletions nix/plutarch/default.nix

This file was deleted.

44 changes: 0 additions & 44 deletions nix/plutarch/lib.nix

This file was deleted.

0 comments on commit ed35645

Please sign in to comment.