Skip to content

Commit

Permalink
gnome-tour: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
worldofpeace committed Feb 28, 2021
1 parent 4995bd5 commit 69ea22c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions pkgs/desktops/gnome-3/core/gnome-tour/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{ lib
, stdenv
, rustPlatform
, gettext
, meson
Expand All @@ -15,9 +16,11 @@
, gnome3
, libhandy
, librsvg
, rustc
, cargo
}:

rustPlatform.buildRustPackage rec {
stdenv.mkDerivation rec {
pname = "gnome-tour";
version = "3.38.0";

Expand All @@ -30,13 +33,16 @@ rustPlatform.buildRustPackage rec {

nativeBuildInputs = [
appstream-glib
cargo
desktop-file-utils
gettext
glib # glib-compile-resources
meson
ninja
pkg-config
python3
rustPlatform.cargoSetupHook
rustc
wrapGAppsHook
];

Expand All @@ -48,12 +54,6 @@ rustPlatform.buildRustPackage rec {
librsvg
];

# Don't use buildRustPackage phases, only use it for rust deps setup
configurePhase = null;
buildPhase = null;
checkPhase = null;
installPhase = null;

postPatch = ''
chmod +x build-aux/meson_post_install.py
patchShebangs build-aux/meson_post_install.py
Expand Down

0 comments on commit 69ea22c

Please sign in to comment.