mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-23 05:37:27 +03:00
srm-cuarzo: 0.5.6-1 -> 0.5.6-2
This commit is contained in:
parent
3852c7ab26
commit
dbbe567d41
@ -14,9 +14,9 @@
|
|||||||
}:
|
}:
|
||||||
stdenv.mkDerivation (self: {
|
stdenv.mkDerivation (self: {
|
||||||
pname = "srm-cuarzo";
|
pname = "srm-cuarzo";
|
||||||
version = "0.5.6-1";
|
version = "0.5.6-2";
|
||||||
rev = "v${self.version}";
|
rev = "v${self.version}";
|
||||||
hash = "sha256-REILtx4tPAWX4JnBjC0EU5dnnZhbVHhlVAWKo7n7sdA=";
|
hash = "sha256-shYYmXTWa0cd0zTsdCDw536BkEtm6UdbUz/lQFURi90=";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
inherit (self) rev hash;
|
inherit (self) rev hash;
|
||||||
@ -42,12 +42,6 @@ stdenv.mkDerivation (self: {
|
|||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace src/meson.build \
|
|
||||||
--replace "/usr/include/drm" "${libdrm.dev}/include/drm" \
|
|
||||||
--replace "/usr/include/libdrm" "${libdrm.dev}/include/libdrm"
|
|
||||||
'';
|
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
# The root meson.build file is in src/
|
# The root meson.build file is in src/
|
||||||
cd src
|
cd src
|
||||||
|
Loading…
Reference in New Issue
Block a user