File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 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 } ;
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
You can’t perform that action at this time.
0 commit comments