Dwm: Difference between revisions
imported>Hypnosis2839 m →Creating override: code formatting |
imported>Hypnosis2839 →Creating override: fix instructions to get SRI hash |
||
| Line 24: | Line 24: | ||
# replace with actual URL | # replace with actual URL | ||
url = "https://dwm.suckless.org/patches/path/to/patch.diff"; | url = "https://dwm.suckless.org/patches/path/to/patch.diff"; | ||
# replace hash with the value from `nix-prefetch-url "https://dwm.suckless.org/patches/path/to/patch.diff"` | # replace hash with the value from `nix-prefetch-url "https://dwm.suckless.org/patches/path/to/patch.diff" | xargs nix hash to-sri --type sha256` | ||
# or just leave it blank, rebuild, and use the hash value from the error | |||
hash = ""; | hash = ""; | ||
}) | }) | ||