mirror of
https://github.com/ziglang/zig.git
synced 2024-11-28 07:10:14 +00:00
use eachDefaultSystem from flake-utils (since it's there already)
parent
1da431a1c0
commit
a06f1ebb50
@ -39,9 +39,8 @@ Alternatively, you can use this sample `flake.nix`:
|
||||
};
|
||||
};
|
||||
|
||||
outputs = inputs:
|
||||
outputs = inputs: inputs.flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
{
|
||||
@ -60,6 +59,7 @@ Alternatively, you can use this sample `flake.nix`:
|
||||
|
||||
hardeningDisable = [ "all" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
||||
```
|
Loading…
Reference in New Issue
Block a user