uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
44
pkgs/desktops/gnome/core/gnome-backgrounds/default.nix
Normal file
44
pkgs/desktops/gnome/core/gnome-backgrounds/default.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, fetchurl
|
||||
, meson
|
||||
, ninja
|
||||
, gnome
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gnome-backgrounds";
|
||||
version = "42.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-backgrounds/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "TH/hoJ9FnF93GJpZglJPzgXYiJRJVdZ5kQ8jRgbBKV0=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Makes the database point to stable paths in /run/current-system/sw/share, which don't decay whenever this package's hash changes.
|
||||
# This assumes a nixos + gnome system, where this package is installed in environment.systemPackages,
|
||||
# and /share outputs are included in environment.pathsToLink.
|
||||
./stable-dir.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome.updateScript {
|
||||
packageName = "gnome-backgrounds";
|
||||
attrPath = "gnome.gnome-backgrounds";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Default wallpaper set for GNOME";
|
||||
homepage = "https://gitlab.gnome.org/GNOME/gnome-backgrounds";
|
||||
license = licenses.cc-by-sa-30;
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.gnome.members;
|
||||
};
|
||||
}
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
diff --git a/backgrounds/meson.build b/backgrounds/meson.build
|
||||
index 2175a16..cf521df 100644
|
||||
--- a/backgrounds/meson.build
|
||||
+++ b/backgrounds/meson.build
|
||||
@@ -1,5 +1,5 @@
|
||||
dataconf = configuration_data()
|
||||
-dataconf.set('BACKGROUNDDIR', backgrounddir)
|
||||
+dataconf.set('BACKGROUNDDIR', '/run/current-system/sw/share/backgrounds/gnome')
|
||||
dataconf.set('datadir', datadir)
|
||||
Loading…
Add table
Add a link
Reference in a new issue