Compare commits
2 Commits
b916e4ac4d
...
b234bdbd06
Author | SHA1 | Date |
---|---|---|
Moritz Böhme | b234bdbd06 | |
Moritz Böhme | be2bc72968 |
|
@ -0,0 +1,16 @@
|
|||
{ lib, ... }:
|
||||
|
||||
final: prev: {
|
||||
# python-poetry/poetry#5929
|
||||
poetry = final.symlinkJoin {
|
||||
name = "poetry";
|
||||
paths = [ prev.poetry ];
|
||||
postBuild =
|
||||
let
|
||||
regex = "s/'([a-z]*[[:blank:]][a-z]*)''/\1'/g";
|
||||
in
|
||||
''
|
||||
${lib.getExe final.gnused} -i -E "${regex}" "$out/share/fish/vendor_completions.d/poetry.fish"
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue