Add patched bitwig-studio to packages

This commit is contained in:
coolneng 2023-03-29 13:46:58 +02:00
parent a2458ac39d
commit 628766e55d
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
8 changed files with 39 additions and 0 deletions

3
.gitattributes vendored
View File

@ -1 +1,4 @@
secrets/soundcloud_token filter=git-crypt diff=git-crypt
assets/bitwig/activation.bwreg filter=lfs diff=lfs merge=lfs -text
assets/bitwig/bitwig-studio.deb filter=lfs diff=lfs merge=lfs -text
assets/bitwig/bitwig.jar filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
!*.jar

BIN
assets/bitwig/activation.bwreg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/bitwig/bitwig-studio.deb (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/bitwig/bitwig.jar (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -59,6 +59,19 @@
"type": "github"
}
},
"local-bitwig": {
"flake": false,
"locked": {
"lastModified": 0,
"narHash": "sha256-n8gLgN6QEVuHe30kQZ/gCWInDHwDpPWOB5RgVh1tSt8=",
"path": "/home/coolneng/Projects/panacea/assets/bitwig",
"type": "path"
},
"original": {
"path": "/home/coolneng/Projects/panacea/assets/bitwig",
"type": "path"
}
},
"nix-index-database": {
"inputs": {
"nixpkgs": [
@ -114,6 +127,7 @@
"inputs": {
"agenix": "agenix",
"cyrus-sasl-xoauth2": "cyrus-sasl-xoauth2",
"local-bitwig": "local-bitwig",
"nix-index-database": "nix-index-database",
"nixpkgs": "nixpkgs",
"openconnect-sso": "openconnect-sso"

View File

@ -27,6 +27,10 @@
url = "github:Mic92/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
local-bitwig = {
url = "path:/home/coolneng/Projects/panacea/assets/bitwig";
flake = false;
};
};
outputs = { self, nixpkgs, agenix, nix-index-database, ... }@inputs:

View File

@ -7,6 +7,13 @@ let
scripts = [ mpvScripts.sponsorblock ];
});
patched-bitwig = bitwig-studio.overrideAttrs (old: rec {
src = ../assets/bitwig/bitwig-studio.deb;
postInstall = ''
cp -r ${inputs.local-bitwig}/bitwig.jar $out/libexec/bin/bitwig.jar
'';
});
in {
environment.systemPackages = [
# Monitoring
@ -55,6 +62,7 @@ in {
mpc_cli
pulsemixer
easyeffects
patched-bitwig
# Productivity
zathura
libreoffice-fresh