Use -Doptimize=ReleaseSafe; update flake.lock (#975)

This commit is contained in:
LeRoyce Pearson 2023-02-04 22:54:12 -07:00 committed by GitHub
parent 5a78cf1e50
commit 0ad2009b00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 13 deletions

View File

@ -1,5 +1,21 @@
{ {
"nodes": { "nodes": {
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1673956053,
"narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-utils": { "flake-utils": {
"locked": { "locked": {
"lastModified": 1667395993, "lastModified": 1667395993,
@ -53,11 +69,11 @@
"known-folders": { "known-folders": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1659425144, "lastModified": 1672993516,
"narHash": "sha256-xMgdOKwWqBmw7avcioqQQrrPU1MjzlBMtNjqPfOEtDQ=", "narHash": "sha256-PG0dyaAZyLsEqo38HQ59r40eXnlqrmsBoXjDRmteQuw=",
"owner": "ziglibs", "owner": "ziglibs",
"repo": "known-folders", "repo": "known-folders",
"rev": "24845b0103e611c108d6bc334231c464e699742c", "rev": "6b37490ac7285133bf09441850b8102c9728a776",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -68,11 +84,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1672057183, "lastModified": 1675523619,
"narHash": "sha256-GN7/10DNNvs1FPj9tlZA2qgNdFuYKKuS3qlHTqAxasQ=", "narHash": "sha256-jHvkAwkbAj1s0O5riHMghSDHh9iz8AwLTbXQuVQKQcg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b139e44d78c36c69bcbb825b20dbfa51e7738347", "rev": "5a211d5e8d18b20b5a2b22157266cc00f8c4f3b9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -95,11 +111,11 @@
"tres": { "tres": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1672008284, "lastModified": 1672378490,
"narHash": "sha256-AtM9SV56PEud1MfbKDZMU2FlsNrI46PkcFQh3yMcDX0=", "narHash": "sha256-SH2ajnLeQFv/anUbv8PppdIR80Jh6QUAkDPs05RIXXc=",
"owner": "ziglibs", "owner": "ziglibs",
"repo": "tres", "repo": "tres",
"rev": "16774b94efa61757a5302a690837dfb8cf750a11", "rev": "cd1c321a86225569e3bab1b81f897626af538a5e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -110,17 +126,18 @@
}, },
"zig-overlay": { "zig-overlay": {
"inputs": { "inputs": {
"flake-compat": "flake-compat",
"flake-utils": "flake-utils_2", "flake-utils": "flake-utils_2",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
] ]
}, },
"locked": { "locked": {
"lastModified": 1672142864, "lastModified": 1675556800,
"narHash": "sha256-uXljuSZK8DP5c4o9u+gcF+Yc3dKYH1wsHmDpWcFBVRQ=", "narHash": "sha256-OfruD3OiVbeQZrcrr/4iFo3Xv7mQkO7HYS+TcTNYY9E=",
"owner": "mitchellh", "owner": "mitchellh",
"repo": "zig-overlay", "repo": "zig-overlay",
"rev": "16e9191142d2a13d7870c03e500842321a466a74", "rev": "778b043b184d53b656b4812ddc41a37f29a51a4d",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -38,7 +38,7 @@
dontInstall = true; dontInstall = true;
buildPhase = '' buildPhase = ''
mkdir -p $out mkdir -p $out
zig build install -Dcpu=baseline -Drelease-safe=true -Ddata_version=master -Dtres=${tres}/tres.zig -Dknown-folders=${known-folders}/known-folders.zig --prefix $out zig build install -Dcpu=baseline -Doptimize=ReleaseSafe -Ddata_version=master -Dtres=${tres}/tres.zig -Dknown-folders=${known-folders}/known-folders.zig --prefix $out
''; '';
XDG_CACHE_HOME = ".cache"; XDG_CACHE_HOME = ".cache";
}; };