Skip to content

Commit d060231

Browse files
committed
Don't break nix flake input name conventions
1 parent b3135a5 commit d060231

File tree

2 files changed

+85
-85
lines changed

2 files changed

+85
-85
lines changed

flake.lock

+77-77
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

+8-8
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@
77
};
88

99
inputs = {
10-
nixpkgs.follows = "haskellNix/nixpkgs-unstable";
11-
hackageNix = {
10+
nixpkgs.follows = "haskell-nix/nixpkgs-unstable";
11+
hackage-nix = {
1212
url = "github:input-output-hk/hackage.nix";
1313
flake = false;
1414
};
15-
haskellNix = {
15+
haskell-nix = {
1616
url = "github:input-output-hk/haskell.nix";
1717
inputs.nixpkgs.follows = "nixpkgs";
18-
inputs.hackage.follows = "hackageNix";
18+
inputs.hackage.follows = "hackage-nix";
1919
};
2020
CHaP = {
2121
url = "github:input-output-hk/cardano-haskell-packages?ref=repo";
2222
flake = false;
2323
};
24-
iohkNix = {
24+
iohk-nix = {
2525
url = "github:input-output-hk/iohk-nix";
2626
inputs.nixpkgs.follows = "nixpkgs";
2727
};
@@ -34,16 +34,16 @@
3434
};
3535

3636
outputs =
37-
{ self, nixpkgs, haskellNix, CHaP, iohkNix, cardano-node, ... }:
37+
{ self, nixpkgs, haskell-nix, CHaP, iohk-nix, cardano-node, ... }:
3838
let
3939
defaultSystems = [ "x86_64-linux" "x86_64-darwin" ];
4040

4141
perSystem = nixpkgs.lib.genAttrs defaultSystems;
4242

4343
nixpkgsFor = system:
4444
import nixpkgs {
45-
overlays = [ iohkNix.overlays.crypto haskellNix.overlay ];
46-
inherit (haskellNix) config;
45+
overlays = [ iohk-nix.overlays.crypto haskell-nix.overlay ];
46+
inherit (haskell-nix) config;
4747
inherit system;
4848
};
4949
nixpkgsFor' = system: import nixpkgs { inherit system; };

0 commit comments

Comments
 (0)