Skip to content

Commit

Permalink
Merge pull request #310085 from pluiedev/zhf-24.05/dim
Browse files Browse the repository at this point in the history
dim: fix build failure
  • Loading branch information
wegank authored May 8, 2024
2 parents 2cf3fff + a66b1dc commit 57043c2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/by-name/di/dim/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
sqlite,
libvaSupport ? stdenv.hostPlatform.isLinux,
libva,
fetchpatch,
}:
rustPlatform.buildRustPackage rec {
pname = "dim";
Expand Down Expand Up @@ -45,6 +46,14 @@ rustPlatform.buildRustPackage rec {
# (ffmpeg) binaries in the same directory as the binary. Patch it to use
# the working dir and PATH instead.
./relative-paths.diff

# Upstream has some unused imports that prevent things from compiling...
# Remove for next release.
(fetchpatch {
name = "remove-unused-imports.patch";
url = "https://github.com/Dusk-Labs/dim/commit/f62de1d38e6e52f27b1176f0dabbbc51622274cb.patch";
hash = "sha256-Gk+RHWtCKN7McfFB3siIOOhwi3+k17MCQr4Ya4RCKjc=";
})
];

postConfigure = ''
Expand Down

0 comments on commit 57043c2

Please sign in to comment.