Skip to content

Commit 3d49709

Browse files
committed
fix pipelines
1 parent 53f6651 commit 3d49709

File tree

4 files changed

+15
-7
lines changed

4 files changed

+15
-7
lines changed

default.nix

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ let
101101
hlint = upstreamedDeprecation "hlint" pkgsDefault.hlint;
102102
openapi-spec-validator = upstreamedDeprecation "openapi-spec-validator" pkgsDefault.python37Packages.openapi-spec-validator;
103103
cardano-repo-tool = pkgsDefault.callPackage ./pkgs/cardano-repo-tool.nix {
104-
haskell = pkgsDefault.haskell-nix;
104+
haskell = nix-tools.default-haskell-nix;
105105
};
106106
stylish-haskell = pkgsDefault.callPackage ./pkgs/stylish-haskell.nix {
107-
haskell = pkgsDefault.haskell-nix;
107+
haskell = nix-tools.default-haskell-nix;
108108
};
109109

110110
# Check scripts
@@ -118,15 +118,15 @@ let
118118

119119
nix-tools = let pkgs = import defaultSources.nixpkgs (import defaultSources."haskell.nix");
120120
in rec {
121-
121+
default-haskell-nix = pkgs.haskell-nix;
122122
# Programs for generating nix haskell package sets from cabal and
123123
# stack.yaml files.
124-
package = nixToolsDeprecation pkgs.haskell-nix.nix-tools;
124+
package = nixToolsDeprecation default-haskell-nix.nix-tools;
125125
# A different haskell infrastructure
126126
haskell = _: nixToolsDeprecation (commonLib.getPkg {}).haskell-nix;
127127
# Script to invoke nix-tools stack-to-nix on a repo.
128128
regenerateStackPackages = pkgs.callPackage ./nix-tools-regenerate.nix {
129-
nix-tools = pkgs.haskell-nix.nix-tools;
129+
nix-tools = default-haskell-nix.nix-tools;
130130
};
131131
# default and release templates that abstract
132132
# over the details for CI.

skeleton/.buildkite/bench.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ total_time=total-time.txt
88

99
echo "--- Build"
1010
# TODO: remove sourcesOverride
11-
nix-build -A benchmarks.iohk-skeleton.iohk-skeleton-bench --arg sourcesOverride '{ iohk-nix = ../..; }'
11+
nix-build -A benchmarks.iohk-skeleton.iohk-skeleton-bench --arg sourcesOverride '{ iohk-nix = ../.; }'
1212
bench=./result/bin/iohk-skeleton-bench
1313

1414
echo "+++ Run benchmark"

skeleton/default.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ let
3030
haskellPackages = pkgs.haskellNixPackages;
3131

3232
in {
33-
inherit pkgs commonLib src haskellPackages;
33+
inherit pkgs haskellPackages;
34+
inherit (pkgs) commonLib;
3435
inherit (haskellPackages.iohk-skeleton.identifier) version;
3536

3637
# Grab the executable component of our package.

skeleton/nix/haskell.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,13 @@ let
8585

8686
# split data output for ekg to reduce closure size
8787
packages.ekg.components.library.enableSeparateDataOutput = true;
88+
89+
# some packages are missing identifier.name:
90+
packages.Win32.package.identifier.name = "Win32";
91+
packages.cryptonite-openssl.package.identifier.name = "cryptonite-openssl";
92+
packages.file-embed-lzma.package.identifier.name = "file-embed-lzma";
93+
packages.singletons.package.identifier.name = "singletons";
94+
packages.terminfo.package.identifier.name = "terminfo";
8895
}
8996

9097
# Allow reinstallation of Win32

0 commit comments

Comments
 (0)