Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Windows Wallet #813

Closed
wants to merge 4 commits into from
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
20 changes: 19 additions & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
, crossSystem ? null
, config ? {}
# Import IOHK common nix lib
, iohkLib ? import ./nix/iohk-common.nix { inherit system crossSystem config; }
, iohkLib ? import ./lib.nix { inherit system crossSystem config; }
# Use nixpkgs pin from iohkLib
, pkgs ? iohkLib.pkgs
}:
Expand All @@ -26,6 +26,8 @@ let
inherit (iohkLib.nix-tools) iohk-extras iohk-module;
};

daedalusBridge = pkgs.callPackage ./nix/daedalus-bridge.nix { };

in {
inherit pkgs iohkLib src haskellPackages;
inherit cardano-http-bridge cardano-sl-node jormungandr jormungandr-cli;
Expand Down Expand Up @@ -58,4 +60,20 @@ in {
pkgs.pkgconfig pkgs.sqlite-interactive
iohkLib.hlint iohkLib.openapi-spec-validator ];
};
devopsShell = pkgs.stdenv.mkDerivation {
name = "devops-shell";
buildInputs = [ iohkLib.niv ];
shellHook = ''
echo "DevOps Tools" \
| ${pkgs.figlet}/bin/figlet -f banner -c \
| ${pkgs.lolcat}/bin/lolcat

echo "NOTE: you may need to export GITHUB_TOKEN if you hit rate limits with niv"
echo "Commands:
* niv update <package> - update package

"
'';

};
}
11 changes: 11 additions & 0 deletions lib.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{ ... }@args:

let
sources = import ./nix/sources.nix;
iohkNix = import sources.iohk-nix (args // { nixpkgsOverride = import sources.nixpkgs args; });
niv = (import sources.niv {}).niv;
jormungandrLib = import (sources.jormungandr-nix + "/lib.nix");
in
iohkNix.pkgs.lib // iohkNix // {
inherit sources niv jormungandrLib;
}
80 changes: 61 additions & 19 deletions nix/.stack.nix/bech32.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

125 changes: 85 additions & 40 deletions nix/.stack.nix/cardano-crypto.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading