chore: fix nixpkgs 25.05 deprecation warnings

This commit is contained in:
2026-05-01 22:26:29 +00:00
parent 35e35980b4
commit d64314d68b
7 changed files with 20 additions and 18 deletions

View File

@@ -1,4 +1,4 @@
{ inputs, symlinkJoin, dash, hectic, ssh-to-age, system }:
{ inputs, symlinkJoin, dash, hectic, ssh-to-age, stdenv }:
let
shell = "${dash}/bin/dash";
bashOptions = [
@@ -11,7 +11,7 @@ let
name = "deploy";
runtimeInputs = [
ssh-to-age
inputs.nixos-anywhere.packages.${system}.nixos-anywhere
inputs.nixos-anywhere.packages.${stdenv.hostPlatform.system}.nixos-anywhere
];
text = ''

View File

@@ -1,4 +1,4 @@
{ self,fetchPypi, python3Packages, system }: python3Packages.buildPythonPackage rec {
{ self,fetchPypi, python3Packages, stdenv }: python3Packages.buildPythonPackage rec {
pname = "marzban";
version = "0.4.3";
@@ -22,7 +22,7 @@
pydantic
paramiko
sshtunnel
]) ++ (with self.packages.${system}; [
]) ++ (with self.packages.${stdenv.hostPlatform.system}; [
py3-datetime
]);