Skip to content

Commit 0eff119

Browse files
authored
Merge pull request #85 from szaffarano/fix/deprecated-attr
fix: Update deprecated attribute
2 parents 474bbf5 + a5de792 commit 0eff119

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

flake.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
# "Apps" so that `nix run` works. If you run `nix run .` then
3333
# this will use the latest default.
34-
apps = rec {
34+
apps = {
3535
default = apps.zig;
3636
zig = flake-utils.lib.mkApp {drv = packages.default;};
3737
};
@@ -48,15 +48,15 @@
4848
};
4949

5050
# For compatibility with older versions of the `nix` binary
51-
devShell = self.devShells.${system}.default;
51+
devShell = self.devShells.${pkgs.stdenv.hostPlatform.system}.default;
5252
});
5353
in
5454
outputs
5555
// {
5656
# Overlay that can be imported so you can access the packages
5757
# using zigpkgs.master or whatever you'd like.
5858
overlays.default = final: prev: {
59-
zigpkgs = outputs.packages.${prev.system};
59+
zigpkgs = outputs.packages.${prev.stdenv.hostPlatform.system};
6060
};
6161

6262
# Templates for use with nix flake init

0 commit comments

Comments
 (0)