!XrtRvzcHOrHtSKARne:nixos.org

NixOS Audio

118 Members
26 Servers

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


SenderMessageTime
26 Dec 2023
@jules_magois:matrix.org@jules_magois:matrix.orgI use pipewire btw. Not sure if I did the patchelf part right (in postFixup)18:41:06
@jules_magois:matrix.org@jules_magois:matrix.orgso yeah if anybody faced the same problem and has an idea of how to fix it, that would be great :)18:45:24
@jules_magois:matrix.org@jules_magois:matrix.org the vst is vcv-rack (paid version), so I tried to override the vcv-rack derivation and used autoPatchelfHook

pkgs.vcv-rack.overrideAttrs (old: {
# ...
src = pkgs.requireFile {
message = "run \"nix store add-file RackPro-2.4.1-lin-x64.zip\"";
name = "RackPro-2.4.1-lin-x64.zip";
# sha256 obtained with: nix-hash --flat --type sha256 RackPro-2.4.1-lin-x64.zip
sha256 =
"564a9f5f7f07c87b2a83236e4a5686d5b2ee8062318e9b77fdd533f1494e1a12";
};
nativeBuildInputs = with pkgs; [
copyDesktopItems
makeWrapper
wrapGAppsHook
autoPatchelfHook
unzip
];
unpackPhase = ''
unzip $src
'';
# ...
installPhase = ''
runHook preInstall

# copy vst/clap plugins to $out/lib
# ...

# copy vcv rack
# ...
'';
postFixup = ''
for file in \
"$out/lib/clap/VCV Rack 2.clap" \
"$out/lib/vst/VCV Rack 2.so" \
"$out/lib/vst/VCV Rack 2.vst3/Contents/x86_64-linux/VCV Rack 2.so"
do
patchelf --set-rpath "${lib.makeLibraryPath old.buildInputs}" "$file"
done
'' + old.postFixup;

meta.description = "Open-source virtual modular synthesizer - paid version";
}
18:49:42
27 Dec 2023
@lotte:chir.rs@lotte:chir.rs changed their profile picture.09:13:53
@ta3arif:matrix.orgBeh_1479 joined the room.10:50:40
@jcelerier:matrix.orgJean-Michaƫl Celerier
In reply to @Minijackson:matrix.org
see here, the top comment: https://github.com/NixOS/nixpkgs/blob/master/maintainers/maintainer-list.nix
https://github.com/NixOS/nixpkgs/pull/277145 :)
17:32:58
@ta3arif:matrix.orgBeh_1479 set a profile picture.17:33:32
28 Dec 2023
@jopejoe1:matrix.orgjopejoe1 (4094@GPN23) changed their display name from jopejoe1 to jopejoe1 [4094].18:08:44
29 Dec 2023
@tammi:greyseal.euTammi (ey/em) changed their profile picture.09:39:14
30 Dec 2023
@nam3l33ss:matrix.org@nam3l33ss:matrix.org changed their profile picture.08:01:43
@kiken_sr:matrix.orgKiken joined the room.16:08:17
@kiken_sr:matrix.orgKiken set a profile picture.16:09:04
@jopejoe1:matrix.orgjopejoe1 (4094@GPN23) changed their display name from jopejoe1 [4094] to jopejoe1.22:04:28

Show newer messages


Back to Room ListRoom Version: 9