diff --git a/pkgs/by-name/au/auto-patchelf/package.nix b/pkgs/by-name/au/auto-patchelf/package.nix index 1e1880560adfa..ade96b2a9fbfc 100644 --- a/pkgs/by-name/au/auto-patchelf/package.nix +++ b/pkgs/by-name/au/auto-patchelf/package.nix @@ -8,12 +8,7 @@ python3Packages.buildPythonApplication { version = "0-unstable-2024-08-14"; pyproject = false; - src = lib.fileset.toSource { - root = ./.; - fileset = lib.fileset.unions [ - ./auto-patchelf.py - ]; - }; + src = ./src; dependencies = with python3Packages; [ pyelftools diff --git a/pkgs/by-name/au/auto-patchelf/auto-patchelf.py b/pkgs/by-name/au/auto-patchelf/src/auto-patchelf.py similarity index 100% rename from pkgs/by-name/au/auto-patchelf/auto-patchelf.py rename to pkgs/by-name/au/auto-patchelf/src/auto-patchelf.py