-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'MetaLamp/lending-pool/development' of https://github.co…
…m/input-output-hk/plutus-use-cases into MetaLamp/lending-pool/incentivized-tokens
- Loading branch information
Showing
30 changed files
with
773 additions
and
124 deletions.
There are no files selected for viewing
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
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
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,35 @@ | ||
######################################################################## | ||
# default.nix -- The top-level nix build file for plutus-starter. | ||
# | ||
# This file defines various attributes that are used for building and | ||
# developing plutus-starter. | ||
# | ||
######################################################################## | ||
|
||
let | ||
# Here a some of the various attributes for the variable 'packages': | ||
# | ||
# { pkgs | ||
# plutus-starter: { | ||
# haskell: { | ||
# project # The Haskell project created by haskell-nix.project | ||
# packages # All the packages defined by our project, including dependencies | ||
# projectPackages # Just the packages in the project | ||
# } | ||
# hlint | ||
# cabal-install | ||
# stylish-haskell | ||
# haskell-language-server | ||
# } | ||
# } | ||
|
||
packages = import ./nix; | ||
|
||
inherit (packages) pkgs plutus-starter; | ||
project = plutus-starter.haskell.project; | ||
in | ||
{ | ||
inherit pkgs plutus-starter; | ||
|
||
inherit project; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
let | ||
# Pratically, the only needed dependency is the plutus repository. | ||
sources = import ./sources.nix { inherit pkgs; }; | ||
|
||
# We're going to get everything from the main plutus repository. This ensures | ||
# we're using the same version of multiple dependencies such as nipxkgs, | ||
# haskell-nix, cabal-install, compiler-nix-name, etc. | ||
plutus = import sources.plutus {}; | ||
pkgs = plutus.pkgs; | ||
|
||
haskell-nix = pkgs.haskell-nix; | ||
|
||
plutus-starter = import ./pkgs { | ||
inherit pkgs haskell-nix sources plutus; | ||
}; | ||
|
||
in | ||
{ | ||
inherit pkgs plutus-starter; | ||
} |
Oops, something went wrong.