You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ofborgbot
added
6.topic: GNOME
GNOME desktop environment and its underlying platform
6.topic: rust
General-purpose programming language emphasizing performance, type safety, and concurrency.
labels
Mar 1, 2021
worldofpeace
changed the title
[staging-next] cargo/hooks: allow hooks to be disabled, gnome-tour: disable cargoBuildHook
[staging] cargo/hooks: allow hooks to be disabled
Mar 1, 2021
This is why in my opinion we should not use generic phases such as buildPhase and configurePhase but instead have hooks provide their own phases. Unfortunately, we have to at least disable buildPhase and so on because stdenv.mkDerivation has them as default.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6.topic: rustGeneral-purpose programming language emphasizing performance, type safety, and concurrency.10.rebuild-darwin: 501+This PR causes many rebuilds on Darwin and should normally target the staging branches.10.rebuild-darwin: 5001+This PR causes many rebuilds on Darwin and must target the staging branches.10.rebuild-linux: 501+This PR causes many rebuilds on Linux and should normally target the staging branches.10.rebuild-linux: 5001+This PR causes many rebuilds on Linux and must target the staging branches.
6 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation for this change
For
gnome-tourwe want meson to do the build, however, there was no way to conditionally disable the buildRustPackage hooksThings done
sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)nix path-info -Sbefore and after)