Skip to content

Commit 494864f

Browse files
committed
chore: lint
1 parent 1ae5dca commit 494864f

1 file changed

Lines changed: 8 additions & 10 deletions

File tree

flake.nix

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -262,11 +262,10 @@
262262
override =
263263
pkg:
264264
pkg.overrideAttrs (old: {
265-
prePatch =
266-
''
267-
substituteInPlace Lib/subprocess.py --replace-fail '"/bin/sh"' "'/bin/sh'"
268-
''
269-
+ old.prePatch;
265+
prePatch = ''
266+
substituteInPlace Lib/subprocess.py --replace-fail '"/bin/sh"' "'/bin/sh'"
267+
''
268+
+ old.prePatch;
270269
});
271270
}
272271
# fill in the missing pc file
@@ -275,11 +274,10 @@
275274
override =
276275
pkg:
277276
pkg.overrideAttrs (old: {
278-
postInstall =
279-
''
280-
ln -s "$out/lib/pkgconfig/python-${pkg.passthru.sourceVersion.major}.${pkg.passthru.sourceVersion.minor}.pc" "$out/lib/pkgconfig/python3.pc"
281-
''
282-
+ old.postInstall;
277+
postInstall = ''
278+
ln -s "$out/lib/pkgconfig/python-${pkg.passthru.sourceVersion.major}.${pkg.passthru.sourceVersion.minor}.pc" "$out/lib/pkgconfig/python3.pc"
279+
''
280+
+ old.postInstall;
283281
});
284282
}
285283
{

0 commit comments

Comments
 (0)