Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
37abda5f39 | ||
|
|
4e544f6e46 | ||
|
|
0f1f3f6675 |
@@ -1,6 +1,13 @@
|
||||
{
|
||||
description = "An Invoice Ninja package and module.";
|
||||
|
||||
nixConfig = {
|
||||
extra-substituters = [ "https://invoiceninja-nixos.cachix.org" ];
|
||||
extra-trusted-public-keys = [
|
||||
"invoiceninja-nixos.cachix.org-1:TmRZaji8FFVjjIw9KZmvLrxMxfP+JDThOyOX04z526A="
|
||||
];
|
||||
};
|
||||
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
|
||||
|
||||
outputs =
|
||||
|
||||
@@ -36,3 +36,11 @@ boot-vm:
|
||||
test:
|
||||
nix flake check -L
|
||||
|
||||
[doc('Build the package and automated test, then push results to the invoiceninja-nixos cachix cache')]
|
||||
[group('maintenance')]
|
||||
push-cache:
|
||||
nix build --print-out-paths --no-link \
|
||||
".#invoiceninja" \
|
||||
".#checks.x86_64-linux.invoiceninja" \
|
||||
| cachix push invoiceninja-nixos
|
||||
|
||||
|
||||
+9
-7
@@ -14,13 +14,13 @@
|
||||
let
|
||||
pname = "invoiceninja";
|
||||
|
||||
version = "5.13.43";
|
||||
version = "5.13.50";
|
||||
src = fetchFromGitHub {
|
||||
name = "${pname}";
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-F8lEyVi2EFRnkxWSDRIqsqrKmtCEUEee8lDDUZXoo0c=";
|
||||
hash = "sha256-UU0Q2WReh8LXBGClQqw1QmOVG6I5Ho27U/u4fTHiwE0=";
|
||||
|
||||
postFetch = ''
|
||||
# add missing integrity fields to lockfile
|
||||
@@ -28,13 +28,13 @@ let
|
||||
'';
|
||||
};
|
||||
|
||||
uiVersion = "28.09.2026.1";
|
||||
uiVersion = "18.10.2026.1";
|
||||
uiSrc = fetchFromGitHub {
|
||||
name = "${pname}-ui";
|
||||
owner = pname;
|
||||
repo = "ui";
|
||||
tag = uiVersion;
|
||||
hash = "sha256-RLirh0Q5lhH2O7AEwoR4MdlELAgB00f9w6FfiBNhoho=";
|
||||
hash = "sha256-56szHmIWU9De04Orykp2RxrW0RV87JxB7Y1yvdrSJm4=";
|
||||
|
||||
postFetch = ''
|
||||
# add missing integrity fields to lockfile
|
||||
@@ -50,7 +50,7 @@ let
|
||||
|
||||
nodejs = nodejs_22;
|
||||
|
||||
npmDepsHash = "sha256-7Boz+o4pQkPNMJREWgUMeKQa7avChqd+GpZoaXO0LqE=";
|
||||
npmDepsHash = "sha256-j5XocHvBfMvzNrkaVkTsck2+yPraYWrXQxAbf3EYfIk=";
|
||||
|
||||
preConfigure = ''
|
||||
sed -i 's/VITE_IS_TEST=true/VITE_IS_TEST=false/' .env.example
|
||||
@@ -74,6 +74,8 @@ php82.buildComposerProject (finalAttrs: {
|
||||
inherit src version;
|
||||
pname = "${pname}-composer";
|
||||
|
||||
passthru.ui = ui;
|
||||
|
||||
nativeBuildInputs = [
|
||||
jq
|
||||
nodejs_22
|
||||
@@ -81,7 +83,7 @@ php82.buildComposerProject (finalAttrs: {
|
||||
npmHooks.npmBuildHook
|
||||
];
|
||||
|
||||
vendorHash = "sha256-zTo+unMIsv2XObjwiFpxTdUxVfZoXbMNviDrLMVMJI0=";
|
||||
vendorHash = "sha256-z/DX3w0F8FfejnK84yMawKuvft8I4I51Xn7Kgiy/DQo=";
|
||||
|
||||
# Upstream composer.json has invalid license, webpatser/laravel-countries package is pointing
|
||||
# to commit-ref, and php required in require and require-dev
|
||||
@@ -92,7 +94,7 @@ php82.buildComposerProject (finalAttrs: {
|
||||
npmDeps = fetchNpmDeps {
|
||||
name = "${pname}-${version}-npm-deps";
|
||||
inherit src;
|
||||
hash = "sha256-uHbvhf8EWOBiyPQ9ieA4ynIUkIXWJEXZ7ZVsr4NXWtU=";
|
||||
hash = "sha256-1Bw8m4JdCXQ48p9eO936OP3qW8n0sbrDfzBA2y+dcqY=";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
|
||||
Reference in New Issue
Block a user