mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
4dcce810d2
for example, the update from 0.9.16 to 0.9.17 broke this flake, after this change the derivation will be the same as the nixpkgs one. This is the better option since the flake is unmaintained in this repo (although it may still break inbetween releases)
21 lines
327 B
Nix
21 lines
327 B
Nix
{ lib
|
|
, waybar
|
|
, version
|
|
}:
|
|
|
|
waybar.overrideAttrs (prev: {
|
|
inherit version;
|
|
# version = "0.9.17";
|
|
|
|
src = lib.cleanSourceWith {
|
|
filter = name: type:
|
|
let
|
|
baseName = baseNameOf (toString name);
|
|
in
|
|
! (
|
|
lib.hasSuffix ".nix" baseName
|
|
);
|
|
src = lib.cleanSource ../.;
|
|
};
|
|
})
|