Site Tools


onny:notizen

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
onny:notizen [2026/05/14 09:04] – [ripgrep] 10.250.0.1onny:notizen [2026/05/27 07:55] (current) – [tools] 10.250.0.1
Line 635: Line 635:
 </code> </code>
 ==== git ==== ==== git ====
 +
 +git fetch remote branch of a pull request
 +<code>
 +git fetch upstream pull/518799/head:pr-518799
 +git checkout pr-518799
 +</code>
 +
 +git show, list only affected files
 +<code bash>
 +git show 45d2d903d507e8c8ce0c766243af103baa1bbe24 --name-only
 +</code>
  
 unstage changes to a specific file of a specific commit unstage changes to a specific file of a specific commit
Line 1308: Line 1319:
 </code> </code>
 ==== packaging ==== ==== packaging ====
 +
 +fetchpatch
 +
 +<code>
 +patches = [
 +  (fetchpatch {
 +    url = "https://salsa.debian.org/webkit-team/webkit/-/raw/debian/2.44.1-1/debian/patches/fix-ftbfs-riscv64.patch";
 +    hash = "sha256-MgaSpXq9l6KCLQdQyel6bQFHG53l3GY277WePpYXdjA=";
 +    name = "fix_ftbfs_riscv64.patch";
 +  })
 +];
 +</code>
  
 ===== tools ===== ===== tools =====
Line 1636: Line 1659:
     invoiceplane = inputs.invoiceplane-unstable.legacyPackages.x86_64-linux.invoiceplane;     invoiceplane = inputs.invoiceplane-unstable.legacyPackages.x86_64-linux.invoiceplane;
     plausible = inputs.plausible-riscv.legacyPackages.x86_64-linux.pkgsCross.riscv64.plausible;     plausible = inputs.plausible-riscv.legacyPackages.x86_64-linux.pkgsCross.riscv64.plausible;
 +  })
 +];
 +</code>
 +
 +overlay examples
 +
 +<code>
 +nixpkgs.overlays = [
 +  (self: super: {
 +    python3 = super.python3.override {
 +      packageOverrides = python-final: python-prev: {
 +        mypy = python-prev.mypy.overridePythonAttrs (old: {
 +          nativeBuildInputs = (old.nativeBuildInputs or []) ++ [
 +            super.librt
 +          ];
 +        });
 +      };
 +    }; 
   })   })
 ]; ];
onny/notizen.1778749457.txt.gz · Last modified: by 10.250.0.1