Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Commit f7be633

Browse files
committed
Update iohk-nix. Fix nix-shells.
1 parent b291449 commit f7be633

File tree

9 files changed

+23
-22
lines changed

9 files changed

+23
-22
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,3 +113,6 @@ exchange-topology.yaml
113113
launch_*
114114
result*
115115
cabal.config
116+
117+
# avoid issues when running /nix/regenerate.sh
118+
.stack-to-nix.cache

default.nix

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ commonLib.nix-tools.default-nix ./nix/pkgs.nix args
5050
# ... and add additional non-haskell packages we want to build on CI:
5151
// {
5252

53-
stack-env = pkgs.runCommand "stack-env" {
54-
buildInputs = with pkgs; [ haskell.packages.ghc863.ghc zlib openssl git ];
55-
} "mkdir $out";
56-
5753
runCoveralls = pkgs.stdenv.mkDerivation {
5854
name = "run-coveralls";
5955
buildInputs = with pkgs; [ haskellPackages.stack-hpc-coveralls stack ];

nix/.stack.nix/contra-tracer.nix

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nix/.stack.nix/default.nix

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nix/.stack.nix/iohk-monitoring.nix

Lines changed: 9 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nix/iohk-nix-src.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"url": "https://github.com/input-output-hk/iohk-nix",
3-
"rev": "0a34a05d611a7141d2b6d73446be004fa06f0f5c",
4-
"date": "2019-05-10T23:27:17+08:00",
5-
"sha256": "174k68m8q4afa39hr76g9j0zk6sf9p8m1gncnj52plb2gmshf54w",
3+
"rev": "5040e0192871203251ed404edb3c9259c18bc7e1",
4+
"date": "2019-05-20T19:03:56-03:00",
5+
"sha256": "1ah1njfj906068g0z10x5ldphcx4l1dx7y026vhmqyjhyqgml88q",
66
"fetchSubmodules": false
77
}

shell.nix

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
{ system ? builtins.currentSystem
2-
, config ? {}
3-
, localPkgs ? import ./. { inherit config system; }
4-
}:
51
let
6-
# mainShell = localPkgs.nix-tools.libs.cardano-shell.env;
2+
localPkgs = import ./. { };
73
mainShell = localPkgs.nix-tools.libs.cardano-shell;
84
in mainShell // {
95
inherit (localPkgs) runCoveralls;

stack-shell.nix

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
{ system ? builtins.currentSystem
2-
, config ? {}
3-
}:
4-
(import ./default.nix { inherit system config; }).stack-env
1+
(import ./. {}).nix-tools.libs.cardano-shell

stack.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,5 @@ extra-deps:
100100
# compiler-check: newer-minor
101101

102102
nix:
103+
enable: true
103104
shell-file: stack-shell.nix

0 commit comments

Comments
 (0)