-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stdenv.mkDerivation: check that depsBuildX are executable on the build system #204387
Draft
Artturin
wants to merge
7
commits into
NixOS:master
Choose a base branch
from
Artturin:checkdepsbuildexecutableonbuild
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Jan 8, 2023
-
wine: use stdenv_32bit for wine32
to make sure all things in nativeBuildInputs are executable on buildPlatform ``` checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu ``` to ``` wine> checking build system type... x86_64-pc-linux-gnu wine> checking host system type... x86_64-pc-linux-gnu ``` i don't know if this affects anything negatively but wine builds and the log output is similar but with stuff like `gcc -m32 ...` and `-m32` in other places Weird things in the log are ```diff checking for cups/cups.h... yes checking for cups/ppd.h... yes - checking for -lcups... libcups.so.2 + checking for -lcups... not found ... - configure: libcapi20 development files not found, ISDN won't be supported. + configure: libcapi20 32-bit development files not found, ISDN won't be supported. + configure: libcups 32-bit development files not found, CUPS won't be supported. ``` no diff in ``` nix-repl> pkgs = import ./. { system = "i686-linux"; } nix-repl> pkgs.wine «derivation /nix/store/lik48akxk5hk3hvbqhaxgsh0827kv3zd-wine-7.0.drv» ```
Configuration menu - View commit details
-
Copy full SHA for ba64f7f - Browse repository at this point
Copy the full SHA ba64f7fView commit details -
mfcl3770cdw: use stdenv_32bit instead of pkgsi686Linux
["trace: warning: dpkg-1.21.1ubuntu2.1 in mfcl3770cdwdrv-1.0.2-0 nativeBuildInputs not executable on build", "trace: warning: hook in mfcl3770cdwdrv-1.0.2-0 nativeBuildInputs not executable on build", "trace: warning: dpkg-1.21.1ubuntu2.1 in mfcl3770cdwdrv-1.0.2-0 nativeBuildInputs not executable on build", "trace: warning: hook in mfcl3770cdwdrv-1.0.2-0 nativeBuildInputs not executable on build"] ``` nix-repl> o = lib.lists.last wine.nativeBuildInputs nix-repl> o «derivation /nix/store/i7ya4lqal0awbgxrabkq70gx56skvax5-i686-w64-mingw32-stage-final-gcc-wrapper-11.3.0.drv» nix-repl> stdenv.buildPlatform.canExecute o.stdenv.hostPlatform true nix-repl> pkgsi686Linux.stdenv.buildPlatform.canExecute o.stdenv.hostPlatform false ```
Configuration menu - View commit details
-
Copy full SHA for 1387bbe - Browse repository at this point
Copy the full SHA 1387bbeView commit details -
pkgs/stdenv/generic/make-derivation.nix: run nixpkgs-fmt
allows us to use nixpkgs-fmt when editing this file making the editing experience much better
Configuration menu - View commit details
-
Copy full SHA for fc073c4 - Browse repository at this point
Copy the full SHA fc073c4View commit details -
stdenv.mkDerivation: check that depsBuildX are executable on the buil…
…d system ``` nix-repl> pkgsCross.aarch64-multiplatform.keybinder.nativeBuildInputs [ «derivation /nix/store/sxxk0g9gd18w9r28gbfx8wl65sr8liwm-aarch64-unknown-linux-gnu-pkg-config-wrapper-0.29.2.drv» «derivation /nix/store/ldbs4pw57hy3szqfh8ycskrgywpaahqs-autoconf-2.71.drv» trace: warning: automake-aarch64-unknown-linux-gnu-1.11.6 in keybinder's nativeBuildInputs not executable on build «derivation /nix/store/yj8vj3gbd78scrj4xjmdx4rm5p87dyb9-automake-aarch64-unknown-linux-gnu-1.11.6.drv» ] ```
Configuration menu - View commit details
-
Copy full SHA for f4e5fc2 - Browse repository at this point
Copy the full SHA f4e5fc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e23b3b - Browse repository at this point
Copy the full SHA 7e23b3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 27bc9f4 - Browse repository at this point
Copy the full SHA 27bc9f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e027e0 - Browse repository at this point
Copy the full SHA 6e027e0View commit details
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.