Skip to content

Commit 710c480

Browse files
authored
Resolve a nix warning (#2406)
2 parents 0741cbf + 93729ac commit 710c480

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

nix/hydra/packages.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@
7070
rec {
7171
release =
7272
asZip
73-
{ name = "hydra-${pkgs.hostPlatform.system}"; }
73+
{ name = "hydra-${pkgs.stdenv.hostPlatform.system}"; }
7474
[ hydra-node hydra-tui ];
7575

7676
release-static =
7777
asZip
78-
{ name = "hydra-${pkgs.hostPlatform.system}"; }
78+
{ name = "hydra-${pkgs.stdenv.hostPlatform.system}"; }
7979
[ hydra-node-static hydra-tui-static ];
8080

8181
hydra-node =

nix/hydra/project.nix

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
{ self, ... }: {
2-
32
perSystem = { compiler, inputMap, pkgs, ... }:
4-
5-
63
let
74
hsPkgs = pkgs.haskell-nix.project {
85
src = pkgs.haskell-nix.haskellLib.cleanSourceWith {
@@ -54,7 +51,7 @@
5451
}
5552
# Use different static libs on darwin
5653
# TODO: Always use these?
57-
(pkgs.lib.mkIf pkgs.hostPlatform.isDarwin {
54+
(pkgs.lib.mkIf pkgs.stdenv.hostPlatform.isDarwin {
5855
packages.hydra-node.ghcOptions = with pkgs; [
5956
"-L${lib.getLib static-gmp}/lib"
6057
"-L${lib.getLib static-libsodium-vrf}/lib"

0 commit comments

Comments
 (0)