Merge pull request #327440 from linj-fork/pr/org-remove-patch
emacs.pkgs.org: remove old patches
This commit is contained in:
commit
8d26c6742e
@ -64,26 +64,6 @@ self: let
|
||||
'';
|
||||
});
|
||||
|
||||
org = super.org.overrideAttrs (old: {
|
||||
dontUnpack = false;
|
||||
patches = old.patches or [ ] ++ lib.optionals (lib.versionOlder old.version "9.7.5") [
|
||||
# security fix backported from 9.7.5
|
||||
(pkgs.fetchpatch {
|
||||
url = "https://git.savannah.gnu.org/cgit/emacs/org-mode.git/patch/?id=f4cc61636947b5c2f0afc67174dd369fe3277aa8";
|
||||
hash = "sha256-bGgsnTSn6SMu1J8P2BfJjrKx2845FCsUB2okcIrEjDg=";
|
||||
stripLen = 1;
|
||||
})
|
||||
];
|
||||
postPatch = old.postPatch or "" + "\n" + ''
|
||||
pushd ..
|
||||
local content_directory=${old.ename}-${old.version}
|
||||
src=$PWD/$content_directory.tar
|
||||
tar --create --verbose --file=$src $content_directory
|
||||
popd
|
||||
'';
|
||||
dontBuild = true;
|
||||
});
|
||||
|
||||
pq = super.pq.overrideAttrs (old: {
|
||||
buildInputs = (old.buildInputs or [ ]) ++ [ pkgs.postgresql ];
|
||||
});
|
||||
|
@ -141,26 +141,6 @@ self: let
|
||||
};
|
||||
});
|
||||
|
||||
org = super.org.overrideAttrs (old: {
|
||||
dontUnpack = false;
|
||||
patches = old.patches or [ ] ++ lib.optionals (lib.versionOlder old.version "9.7.5") [
|
||||
# security fix backported from 9.7.5
|
||||
(pkgs.fetchpatch {
|
||||
url = "https://git.savannah.gnu.org/cgit/emacs/org-mode.git/patch/?id=f4cc61636947b5c2f0afc67174dd369fe3277aa8";
|
||||
hash = "sha256-bGgsnTSn6SMu1J8P2BfJjrKx2845FCsUB2okcIrEjDg=";
|
||||
stripLen = 1;
|
||||
})
|
||||
];
|
||||
postPatch = old.postPatch or "" + "\n" + ''
|
||||
pushd ..
|
||||
local content_directory=${old.ename}-${old.version}
|
||||
src=$PWD/$content_directory.tar
|
||||
tar --create --verbose --file=$src $content_directory
|
||||
popd
|
||||
'';
|
||||
dontBuild = true;
|
||||
});
|
||||
|
||||
plz = super.plz.overrideAttrs (
|
||||
old: {
|
||||
dontUnpack = false;
|
||||
|
Loading…
Reference in New Issue
Block a user