Loading pkgs/by-name/li/libbytesize/package.nix +3 −0 Original line number Diff line number Diff line Loading @@ -60,6 +60,9 @@ stdenv.mkDerivation (finalAttrs: { postInstall = '' substituteInPlace $out/${python3Packages.python.sitePackages}/bytesize/bytesize.py \ --replace-fail 'CDLL("libbytesize.so.1")' "CDLL('$out/lib/libbytesize.so.1')" # Force compilation of .pyc files to make them deterministic ${python3Packages.python.interpreter} -m compileall $out/${python3Packages.python.sitePackages}/bytesize ''; pythonImportsCheck = [ "bytesize" ]; Loading Loading
pkgs/by-name/li/libbytesize/package.nix +3 −0 Original line number Diff line number Diff line Loading @@ -60,6 +60,9 @@ stdenv.mkDerivation (finalAttrs: { postInstall = '' substituteInPlace $out/${python3Packages.python.sitePackages}/bytesize/bytesize.py \ --replace-fail 'CDLL("libbytesize.so.1")' "CDLL('$out/lib/libbytesize.so.1')" # Force compilation of .pyc files to make them deterministic ${python3Packages.python.interpreter} -m compileall $out/${python3Packages.python.sitePackages}/bytesize ''; pythonImportsCheck = [ "bytesize" ]; Loading