minus-squarefour@lemmy.ziptoNix / NixOS@programming.dev•[resolved] Help with haskell package that lives in a subdirectory of `src`linkfedilinkEnglisharrow-up4·18 days agoI’m also not a nix expert and I’m not too familiar with Haskell build ecosystem, but doesn’t the buildTarget argument do what you need? https://nixos.org/manual/nixpkgs/stable/#haskell-derivation-args (it’s the last on the list) Name of the executable or library to build and install. If unset, all available targets are built and installed. linkfedilink
I’m also not a nix expert and I’m not too familiar with Haskell build ecosystem, but doesn’t the
buildTarget
argument do what you need? https://nixos.org/manual/nixpkgs/stable/#haskell-derivation-args (it’s the last on the list)