diff --git a/flake.nix b/flake.nix index a552edf..46eea43 100644 --- a/flake.nix +++ b/flake.nix @@ -13,6 +13,16 @@ # legacyPackages.url = "github.com/Gnucash/gnucash/releases/download/5.4/gnucash-5.4-1.tar.gz"; #legacyPackages.gnucash.url = "github:nixos/nixpkgs/f4599feae4160285c5ce4e4364bd147df83e780c"; #legacyPackages.gnucash.url = "github:Gnucash/gnucash/releases/download/5.4/gnucash-5.4-1.tar.bz2"; + + pkgs = import (builtins.fetchGit { + # Descriptive name to make the store path easier to identify + name = "gnucash-5.4"; + url = "https://github.com/NixOS/nixpkgs/"; + ref = "refs/heads/nixpkgs-unstable"; + rev = "9957cd48326fe8dbd52fdc50dd2502307f188b0d"; + }) {}; + + gnucash-old = pkgs.gnucash; }; outputs = inputs@{ @@ -228,17 +238,7 @@ # 03/12/2024 Gnucash Attempt: #extraSpecialArgs = {inherit inputs;}; - - pkgs = import (builtins.fetchGit { - # Descriptive name to make the store path easier to identify - name = "gnucash-5.4"; - url = "https://github.com/NixOS/nixpkgs/"; - ref = "refs/heads/nixpkgs-unstable"; - rev = "9957cd48326fe8dbd52fdc50dd2502307f188b0d"; - }) {}; - - gnucash-old = pkgs.gnucash; - + modules = [ # Common Resources