Unverified Commit 58156542 authored by Heitor Augusto's avatar Heitor Augusto
Browse files

cosmic-bg: replace `rec` with `finalAttrs`

parent 801b31bb
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -14,14 +14,14 @@

rustPlatform.buildRustPackage.override
  { stdenv = if withMoldLinker then stdenvAdapters.useMoldLinker stdenv else stdenv; }
  rec {
  (finalAttrs: {
    pname = "cosmic-bg";
    version = "1.0.0-alpha.6";

    src = fetchFromGitHub {
      owner = "pop-os";
      repo = "cosmic-bg";
      tag = "epoch-${version}";
      tag = "epoch-${finalAttrs.version}";
      hash = "sha256-4b4laUXTnAbdngLVh8/dD144m9QrGReSEjRZoNR6Iks=";
    };

@@ -69,4 +69,4 @@ rustPlatform.buildRustPackage.override
      platforms = lib.platforms.linux;
      mainProgram = "cosmic-bg";
    };
  }
  })