File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 osConfig ,
55 pkgs ,
66 ...
7- } : {
7+ } : let
8+ wealthfolio = pkgs . unstable . wealthfolio . overrideAttrs ( oldAttrs : rec {
9+ version = "3.1.0" ;
10+
11+ src = pkgs . fetchFromGitHub {
12+ owner = "afadil" ;
13+ repo = "wealthfolio" ;
14+ rev = "v${ version } " ;
15+ hash = "sha256-/ft1QQicuwMiLNxojwyeWYeNejXabTDL7NOGWq+1Y5E=" ;
16+ } ;
17+
18+ pnpmDeps = pkgs . fetchPnpmDeps {
19+ inherit src ;
20+ pname = "wealthfolio" ;
21+ inherit version ;
22+ pnpm = pkgs . pnpm_9 ;
23+ fetcherVersion = 1 ;
24+ hash = "sha256-feM1jQsUDKVX4+x4Otdwx6AEM+FO7fiaJjmMbU6GDf8=" ;
25+ } ;
26+
27+ cargoRoot = "." ;
28+ buildAndTestSubdir = cargoRoot ;
29+
30+ cargoDeps = pkgs . unstable . rustPlatform . fetchCargoVendor {
31+ inherit src cargoRoot ;
32+ pname = "wealthfolio" ;
33+ inherit version ;
34+ hash = "sha256-+KulyYaenGA82xgZkkblcc2SVN4MWqHunpNmi5SX4fs=" ;
35+ } ;
36+
37+ postPatch = ''
38+ jq \
39+ '.plugins.updater.endpoints = [ ]
40+ | .bundle.createUpdaterArtifacts = false' \
41+ apps/tauri/tauri.conf.json \
42+ | sponge apps/tauri/tauri.conf.json
43+ '' ;
44+ } ) ;
45+ in {
846 home . persistence . "/persist" = lib . mkIf osConfig . dendrix . isImpermanent {
947 directories = [
1048 ".local/share/com.teymz.wealthfolio"
1351 ] ;
1452 } ;
1553
16- home . packages = [ pkgs . unstable . wealthfolio ] ;
54+ home . packages = [ wealthfolio ] ;
1755 } ;
1856}
You can’t perform that action at this time.
0 commit comments