Skip to content
This repository was archived by the owner on May 20, 2024. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
371 changes: 136 additions & 235 deletions cabal.project

Large diffs are not rendered by default.

45 changes: 10 additions & 35 deletions default.nix
Original file line number Diff line number Diff line change
@@ -1,35 +1,10 @@
{ source-repo-override ? { } }:
########################################################################
# 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 source-repo-override; };

inherit (packages) pkgs plutus-starter;
project = plutus-starter.haskell.project;
in
{
inherit pkgs plutus-starter;

inherit project;
}
(import
(
let lock = builtins.fromJSON (builtins.readFile ./flake.lock); in
fetchTarball {
url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
sha256 = lock.nodes.flake-compat.locked.narHash;
}
)
{ src = ./.; }
).defaultNix
Loading