diff --git a/lib/default.nix b/lib/default.nix index bf482cf9..a458250e 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -25,7 +25,7 @@ Example: `python39`. Default: `python3` * postgresqlVersion: PostgreSQL version. - Example: `postgresql_12. `Default: `python3` + Example: `postgresql_12. `Default: `postgresql` * overridesFile: file containing packages overrides definitions. Default: false diff --git a/pkgs/geonixcli/templates/init/flake.nix b/pkgs/geonixcli/templates/init/flake.nix index 41973ef0..935222a5 100644 --- a/pkgs/geonixcli/templates/init/flake.nix +++ b/pkgs/geonixcli/templates/init/flake.nix @@ -20,6 +20,15 @@ pkgs = geonix.lib.getPackages { inherit system nixpkgs geonix; + + # Run 'geonix override' command to get overrides.nix template file and + # enable following line to start customizing Geonix packages. + + # overridesFile = ./overrides.nix; + + # Python and PostgreSQL versions to use for overrided packages. + # pythonVersion = "python3"; + # postgresqlVersion = "postgresql"; }; geonixConfig = import ./geonix.nix { inherit pkgs geonix; }; diff --git a/templates/python-web-app/flake.nix b/templates/python-web-app/flake.nix index 41973ef0..935222a5 100644 --- a/templates/python-web-app/flake.nix +++ b/templates/python-web-app/flake.nix @@ -20,6 +20,15 @@ pkgs = geonix.lib.getPackages { inherit system nixpkgs geonix; + + # Run 'geonix override' command to get overrides.nix template file and + # enable following line to start customizing Geonix packages. + + # overridesFile = ./overrides.nix; + + # Python and PostgreSQL versions to use for overrided packages. + # pythonVersion = "python3"; + # postgresqlVersion = "postgresql"; }; geonixConfig = import ./geonix.nix { inherit pkgs geonix; }; diff --git a/templates/simple/flake.nix b/templates/simple/flake.nix index 41973ef0..935222a5 100644 --- a/templates/simple/flake.nix +++ b/templates/simple/flake.nix @@ -20,6 +20,15 @@ pkgs = geonix.lib.getPackages { inherit system nixpkgs geonix; + + # Run 'geonix override' command to get overrides.nix template file and + # enable following line to start customizing Geonix packages. + + # overridesFile = ./overrides.nix; + + # Python and PostgreSQL versions to use for overrided packages. + # pythonVersion = "python3"; + # postgresqlVersion = "postgresql"; }; geonixConfig = import ./geonix.nix { inherit pkgs geonix; };