anchor.diff:      owner = "postmarketOS";
       repo = pname;
       rev = version;
  -    sha256 = "0mrhgi5y3jwd922cmm2niy9ia0g8p6bsqjjxg523yandshpa3683";
  +    sha256 = "sha256-2yyHAHoIlwHX2+LbwwK7AGrBDZlfkhtCcKAKHdJMBdQ=";
     };
   
     pmb_test = "${repo}/test";
   
  -  checkInputs = [ pytestCheckHook git openssl ps ];
  +  checkInputs = [ pytestCheckHook git openssl ps sudo ];
   
     # Add test dependency in PATH
     preCheck = "export PYTHONPATH=$PYTHONPATH:${pmb_test}";
  
positive.code:     description = "Sophisticated chroot/build/flash tool to develop and install postmarketOS";
      homepage = "https://gitlab.com/postmarketOS/pmbootstrap";
      license = licenses.gpl3Plus;
      maintainers = with maintainers; [ payas ];
      # https://github.com/NixOS/nixpkgs/pull/146576#issuecomment-974267651
      broken = stdenv.isDarwin && stdenv.isAarch64;
    };
  
negative.code: { stdenv, lib, git, openssl, makeWrapper, buildPythonApplication, pytestCheckHook, ps
  , fetchPypi, fetchFromGitLab, sudo }:
  
  buildPythonApplication rec {
    pname = "pmbootstrap";
    version = "1.40.0";
  
    src = fetchPypi {
      inherit pname version;
      sha256 = "sha256-b/9NEURp42d/j/Fk8NUS0ZAG99q56eg0pEU/xkFnvrM=";
    };
  
    repo = fetchFromGitLab {
  