Skip to content

Commit

Permalink
feat:new light works
Browse files Browse the repository at this point in the history
Signed-off-by: Anthony Rabbito <[email protected]>
  • Loading branch information
anthr76 committed Jul 8, 2024
1 parent 29d5a86 commit 77fc5f2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion home-manager/personalities/desktop/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
})
dxvk
winetricks
lightworks_2023_02
lightworks_2023_02_02
];
}
2 changes: 1 addition & 1 deletion pkgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
discover-overlay = pkgs.python3Packages.callPackage ./discover-overlay { };
# FIXME: Make this a overlay
coredns-snowflake = pkgs.callPackage ./coredns-snowflake { };
lightworks_2023_02 = pkgs.callPackage ./lightworks_2023_02 { };
lightworks_2023_02_02 = pkgs.callPackage ./lightworks_2023_02_02 { };
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@ let
gmp
];

lightworks_2023_02 = stdenv.mkDerivation rec {
lightworks_2023_02_02 = stdenv.mkDerivation rec {
version = "2023.2";
rev = "146471";
rev = "146752";
pname = "lightworks";

src =
if stdenv.hostPlatform.system == "x86_64-linux" then
fetchurl {
url = "https://cdn.lwks.com/releases/${version}/lightworks_${version}_r${rev}.deb";
sha256 = "sha256-N0tKu2Pwk2WskM+PV0GGY3H8Ey9TkrDNpv0lUJdm6S8=";
sha256 = "sha256-Xjcqdhe85YdPX8AHpKmo/K77AURg0JvtqIvilQOV2ek=";
}
else throw "${pname}-${version} is not supported on ${stdenv.hostPlatform.system}";

Expand Down Expand Up @@ -80,10 +80,10 @@ let

# Lightworks expects some files in /usr/share/lightworks
in buildFHSEnv {
name = lightworks_2023_02.name;
name = lightworks_2023_02_02.name;

targetPkgs = pkgs: [
lightworks_2023_02
lightworks_2023_02_02
];

runScript = "lightworks";
Expand Down

0 comments on commit 77fc5f2

Please sign in to comment.