feat: Improve legacyPackage function
This commit is contained in:
parent
5de4c827d8
commit
7be2edee33
7 changed files with 29 additions and 11 deletions
|
|
@ -8,7 +8,7 @@ let
|
|||
inherit (srcs.spotifyd) src date version;
|
||||
in
|
||||
spotifyd.overrideAttrs (
|
||||
final: prev: {
|
||||
_final: prev: {
|
||||
inherit src;
|
||||
version =
|
||||
if prev.version != "0.4.1" then
|
||||
|
|
@ -18,7 +18,7 @@ spotifyd.overrideAttrs (
|
|||
else
|
||||
"0-unstable-${date}-git${version}";
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
inherit (final)
|
||||
inherit (prev)
|
||||
src
|
||||
;
|
||||
hash = "sha256-WwShp1ebk89cBqRXqKDgbwGZraCDjQAOxoL4uEIq2aw=";
|
||||
Loading…
Add table
Add a link
Reference in a new issue