snipe-it: Pin to PHP 8.1
This fixes the build failure for Snipe-IT after 3bb3859049
bumped the
default PHP version to 8.2.
Resolves #241556
This commit is contained in:
parent
4444693545
commit
b10a609526
|
@ -5,11 +5,13 @@
|
|||
, dataDir ? "/var/lib/snipe-it"
|
||||
, mariadb
|
||||
, nixosTests
|
||||
, php
|
||||
, phpPackages
|
||||
}:
|
||||
|
||||
let
|
||||
package = (import ./composition.nix {
|
||||
inherit pkgs;
|
||||
inherit pkgs php phpPackages;
|
||||
inherit (stdenv.hostPlatform) system;
|
||||
noDev = true; # Disable development dependencies
|
||||
}).overrideAttrs (attrs : {
|
||||
|
@ -44,6 +46,7 @@ in package.override rec {
|
|||
};
|
||||
|
||||
passthru.tests = nixosTests.snipe-it;
|
||||
passthru.phpPackage = php;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A free open source IT asset/license management system";
|
||||
|
|
|
@ -26748,7 +26748,10 @@ with pkgs;
|
|||
|
||||
smcroute = callPackage ../servers/smcroute { };
|
||||
|
||||
snipe-it = callPackage ../servers/web-apps/snipe-it { };
|
||||
snipe-it = callPackage ../servers/web-apps/snipe-it {
|
||||
php = php81;
|
||||
phpPackages = php81Packages;
|
||||
};
|
||||
|
||||
sogo = callPackage ../servers/web-apps/sogo { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue