mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
build(nix): use default-publish for release builds of voxygen
This commit is contained in:
parent
f4f6138d3d
commit
3bf2d2b7fb
12
flake.lock
12
flake.lock
@ -24,11 +24,11 @@
|
|||||||
"rustOverlay": "rustOverlay"
|
"rustOverlay": "rustOverlay"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1624760770,
|
"lastModified": 1624860560,
|
||||||
"narHash": "sha256-6dVQ0B0DJf6BPGl49MA/V0QhEh8rky1TX2qaP/XWzpY=",
|
"narHash": "sha256-Hv1gx9AKHq8VEEiXLOEKAJA3nY8HDtcqAf7D7+Vs540=",
|
||||||
"owner": "yusdacra",
|
"owner": "yusdacra",
|
||||||
"repo": "nix-cargo-integration",
|
"repo": "nix-cargo-integration",
|
||||||
"rev": "89de4b1e831d6e8572e713fc3b3a016157f8c3ba",
|
"rev": "ed208b4e4e69e160c79b2b9519b1ea2bd689431e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -62,11 +62,11 @@
|
|||||||
"rustOverlay": {
|
"rustOverlay": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1624760275,
|
"lastModified": 1624846612,
|
||||||
"narHash": "sha256-GVHe1Pshxf56kpu1YDTH2zBYE6HkdT181EPqkTIijp4=",
|
"narHash": "sha256-7xk8z+PXSXe0GMtmBXEattPhVAkMNefXL3WSgNhz0wI=",
|
||||||
"owner": "oxalica",
|
"owner": "oxalica",
|
||||||
"repo": "rust-overlay",
|
"repo": "rust-overlay",
|
||||||
"rev": "50c100eab4bf1cb9eb7a99ac1b8201fe9eb8a4e0",
|
"rev": "ca925c3f982e821c52a8629af37f105c2c90a91e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -20,6 +20,10 @@
|
|||||||
overrides = {
|
overrides = {
|
||||||
build = common: prev: {
|
build = common: prev: {
|
||||||
runTests = !prev.release && prev.runTests;
|
runTests = !prev.release && prev.runTests;
|
||||||
|
rootFeatures =
|
||||||
|
if prev.release && common.cargoPkg.name == "veloren-voxygen"
|
||||||
|
then [ "default-publish" ]
|
||||||
|
else prev.rootFeatures;
|
||||||
};
|
};
|
||||||
crateOverrides = common: prev:
|
crateOverrides = common: prev:
|
||||||
let
|
let
|
||||||
|
Loading…
Reference in New Issue
Block a user