stdenv: mesonFlags: specify more targetPrefix'd binaries#183507
stdenv: mesonFlags: specify more targetPrefix'd binaries#183507SuperSandro2000 merged 3 commits intoNixOS:stagingfrom
Conversation
|
Can you please explain in the commit message what the purpose of this change is? "improve" isn't really enough information. I can try to infer the context from the linked PR but would be much better to have it properly explained in the commit message. |
|
TODO: investigate using the env vars we already set by adding entries to |
|
The commit message is fantastic now, thank you! :) (And thanks for going upstream!) |
meson did not use these
therefore some packages had to do things
like this
```
substituteInPlace meson.build --replace \
"find_program('nm')" \
"find_program('${stdenv.cc.targetPrefix}nm')"
```
they are unnecessary since 32e36bd429f804fd1468f51e39020f7360d8a5a8 NixOS#183507
this is more accurate
Ericson2314
left a comment
There was a problem hiding this comment.
This is really great! Great job!!
|
9f309c8 ("stdenv: mesonFlags: use canExecute in needs_exe_wrapper") broke |
|
Ah, because now glib builds its tests, and lots of those tests involve building shared libraries. Maybe I can get them to disable the tests if default_library=static. |
see commit msgs
Description of changes
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes