Skip to content

Commit 70c8488

Browse files
author
jared
committed
Migrate purescriptFlake to flake-lang.nix
1 parent c501c05 commit 70c8488

File tree

6 files changed

+13
-58
lines changed

6 files changed

+13
-58
lines changed

extras/build.nix

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
# Makes a per system `lbf-nix` option.
2525
perSystem = flake-parts-lib.mkPerSystemOption
26-
({ pkgs, config, pkgsForCtl, pkgsForRust, ... }: {
26+
({ pkgs, config, pkgsForRust, ... }: {
2727

2828
options.lbf-nix = lib.mkOption {
2929
type = lib.types.anything;
@@ -40,9 +40,6 @@
4040

4141
lbf-nix = {
4242
# NOTE(bladyjoker): If you need to add a function the export externally and use internally via config.lbf-nix, add it here.
43-
44-
purescriptFlake = import ./flake-purescript.nix pkgsForCtl;
45-
4643
rustFlake = import ./flake-rust.nix pkgsForRust;
4744
};
4845

extras/flake-purescript.nix

Lines changed: 0 additions & 42 deletions
This file was deleted.

runtimes/purescript/lbr-plutus/build.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
_:
1+
{ inputs, ... }:
22
{
3-
perSystem = { pkgs, config, ... }:
3+
perSystem = { pkgs, config, system, ... }:
44

55
let
6-
pursFlake = config.lbf-nix.purescriptFlake {
6+
pursFlake = inputs.flake-lang.lib.${system}.purescriptFlake {
77
inherit pkgs;
88
src = ./.;
99
projectName = "lbr-plutus";

runtimes/purescript/lbr-prelude/build.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
_:
1+
{ inputs, ... }:
22
{
3-
perSystem = { pkgs, config, ... }:
3+
perSystem = { pkgs, config, system, ... }:
44

55
let
6-
pursFlake = config.lbf-nix.purescriptFlake {
6+
pursFlake = inputs.flake-lang.lib.${system}.purescriptFlake {
77
inherit pkgs;
88
src = ./.;
99
projectName = "lbr-prelude";

testsuites/lbt-plutus/lbt-plutus-purescript/build.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
_:
1+
{ inputs, ... }:
22
{
3-
perSystem = { pkgs, config, ... }:
3+
perSystem = { pkgs, config, system, ... }:
44

55
let
6-
pursFlake = config.lbf-nix.purescriptFlake {
6+
pursFlake = inputs.flake-lang.lib.${system}.purescriptFlake {
77
src = ./.;
88
projectName = "lbt-plutus";
99
strictComp = true;

testsuites/lbt-prelude/lbt-prelude-purescript/build.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
_:
1+
{ inputs, ... }:
22
{
3-
perSystem = { pkgs, config, ... }:
3+
perSystem = { pkgs, config, system, ... }:
44

55
let
6-
pursFlake = config.lbf-nix.purescriptFlake {
6+
pursFlake = inputs.flake-lang.lib.${system}.purescriptFlake {
77
src = ./.;
88
projectName = "lbt-prelude";
99
strictComp = true;

0 commit comments

Comments
 (0)