php.extensions.smbclient: init at 1.0.4#111515
Conversation
There was a problem hiding this comment.
| { buildPecl, lib, pkgs }: | |
| { buildPecl, lib, samba, pkg-config }: |
There was a problem hiding this comment.
Well, we could, but maybe not worth to change all packages and extensions in this PR. It's more commonly used across nixpkgs so it would be nice to follow that.
There was a problem hiding this comment.
Great. I'll write up a PR once I get a chance. Thanks!
There was a problem hiding this comment.
Overwriting packages is not that easy when they are used indirectly.
There was a problem hiding this comment.
| LIBSMBCLIENT_INCDIR = "${pkgs.samba.dev}/include/samba-4.0"; | |
| LIBSMBCLIENT_INCDIR = "${samba.dev}/include/samba-4.0"; |
There was a problem hiding this comment.
| nativeBuildInputs = [ pkgs.pkg-config ]; | |
| buildInputs = [ pkgs.samba.dev ]; | |
| nativeBuildInputs = [ pkg-config ]; | |
| buildInputs = [ samba.dev ]; |
There was a problem hiding this comment.
Also should just be samba, since we want a library here. (Though it will work either way because inputs ignore the derivation outputs.
|
This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch). Result of 3 packages built:
|
4250ac8 to
dd147bb
Compare
Motivation for this change
I'm probably going to need this at some point. I also have a sneaking suspicion that
nextcloudcould make use of this.Things done
sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)nix path-info -Sbefore and after)