diff --git a/packages/by-name/libnvidia-container-custom/package.nix b/packages/by-name/libnvidia-container-custom/package.nix index 503f27c1d..d52cfb0a7 100644 --- a/packages/by-name/libnvidia-container-custom/package.nix +++ b/packages/by-name/libnvidia-container-custom/package.nix @@ -1,3 +1,6 @@ +# Copyright 2024 Edgeless Systems GmbH +# SPDX-License-Identifier: AGPL-3.0-only + # Upstream package from https://github.com/NixOS/nixpkgs/blob/nixos-24.11/pkgs/by-name/li/libnvidia-container/package.nix#L145 # Adapted to use custom paths for binary resolving specialized to the NixOS image we use this in. As this is incompatible with # non-NixOS deployments, this cannot be upstreamed. @@ -50,7 +53,7 @@ stdenv.mkDerivation rec { patches = [ (replaceVars ./fix-library-resolving.patch { inherit (addDriverRunpath) driverLink; - binaryPath = (lib.makeBinPath binaryPaths); + binaryPath = lib.makeBinPath binaryPaths; }) ./inline-c-struct.patch diff --git a/packages/by-name/mkNixosConfig/package.nix b/packages/by-name/mkNixosConfig/package.nix index a96255bcc..85c7f66fe 100644 --- a/packages/by-name/mkNixosConfig/package.nix +++ b/packages/by-name/mkNixosConfig/package.nix @@ -49,6 +49,7 @@ lib.makeOverridable ( kata-runtime kata-kernel-uvm ; + libnvidia-container = outerPkgs.libnvidia-container-custom; }) ];