!bxVOQwsVoHhZcmNDGw:nixos.org

Nix + dotnet

127 Members
24 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
14 Jan 2025
@wiiplayer2:matrix.orgWaldemar Tomme :/ i tried earlier and now as well but it only appends the /lib sub paths to LD_LIBRARY_PATH it seems 14:29:52
@wiiplayer2:matrix.orgWaldemar Tommeotherwise I will wrap it but would like it if I can manage it with a single package14:31:16
@wiiplayer2:matrix.orgWaldemar Tomme or more like: I assumed it would be possible to just do it with buildDotnetModule 14:32:09
@emma:rory.gayEmma [it/its]huh... thats odd14:33:14
@emma:rory.gayEmma [it/its]bins should be on PATH... i use runtimeDeps for yt-dlp (and transitively, ffmpeg) in a project14:34:01
@emma:rory.gayEmma [it/its] seems is misunderstood what runtimeDeps does 14:36:29
@wiiplayer2:matrix.orgWaldemar Tomme in the source of buildDotnetModule runtimeDeps is only used to get libraries (https://github.com/NixOS/nixpkgs/blob/635e887b48521e912a516625eee7df6cf0eba9c1/pkgs/build-support/dotnet/build-dotnet-module/default.nix#L124) 14:36:36
@wiiplayer2:matrix.orgWaldemar TommeIn the manual it also says that it's only for libraries14:37:04
@wiiplayer2:matrix.orgWaldemar Tommeguess I will make a wrapper14:37:14
@gggkiller:matrix.orgGGGYou can use `makeWrapperArgs` to add stuff to path14:38:12
@gggkiller:matrix.orgGGG`buildDotnetModule` already makes a wrapper, so don't make a wrapper out of a wrapper14:50:18
@wiiplayer2:matrix.orgWaldemar Tomme

It works now. thanks ^^
but small question for clarification: what are the default arguments for makeWrapper for?

    # "--prefix"
    # "LD_LIBRARY_PATH"
    # ":"
    # "${dotnet-sdk.icu}/lib"
14:58:26
@gggkiller:matrix.orgGGG.NET needs ICU for globalization features15:09:45

Show newer messages


Back to Room ListRoom Version: 9