Last active
September 30, 2019 08:25
-
-
Save jluttine/13bb07ba4bbe452dc0834d2bf52a3ca2 to your computer and use it in GitHub Desktop.
Patching physlock with https://github.com/muennich/physlock/pull/79
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
building '/nix/store/g36libsbhwfhxc23yv1j8d2b1wq0lx4w-physlock-11-dev.drv'... | |
unpacking sources | |
unpacking source archive /nix/store/wvaazs81923z1zhbi6hmkmf85acsxqkz-source | |
source root is source | |
patching sources | |
applying patch /nix/store/z3x181hf52l55j2q3msw6crlf2w3divk-79.patch | |
patching file README.md | |
Hunk #1 succeeded at 53 (offset -4 lines). | |
patching file main.c | |
Hunk #1 FAILED at 26. | |
Hunk #2 FAILED at 33. | |
Hunk #3 succeeded at 41 with fuzz 1 (offset -26 lines). | |
Hunk #4 FAILED at 98. | |
Hunk #5 FAILED at 179. | |
Hunk #6 succeeded at 191 with fuzz 1 (offset -25 lines). | |
4 out of 6 hunks FAILED -- saving rejects to file main.c.rej | |
patching file options.c | |
patching file options.c | |
patching file physlock.1 | |
can't find file to patch at input line 189 | |
Perhaps you used the wrong -p or --strip option? | |
The text leading up to this was: | |
-------------------------- | |
|--- a/physlock.h | |
|+++ b/physlock.h | |
-------------------------- | |
File to patch: | |
Skip this patch? [y] | |
Skipping patch. | |
1 out of 1 hunk ignored | |
builder for '/nix/store/g36libsbhwfhxc23yv1j8d2b1wq0lx4w-physlock-11-dev.drv' failed with exit code 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nixpkgs.overlays = lib.singleton ( | |
self: super: { | |
physlock = super.physlock.overrideAttrs (oldAttrs: { | |
patches = lib.singleton ( | |
pkgs.fetchpatch { | |
url = "https://github.com/muennich/physlock/pull/79.patch"; | |
sha256 = "07f41yw3a8vynmrvmv2km8gf0q6xqcq09l8g250ljxvaz8lqxx0z"; | |
} | |
); | |
}); | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment