best practices: use builtins.path for local source
This commit is contained in:
@@ -41,7 +41,10 @@ buildNpmPackage (
|
||||
|
||||
patches = [
|
||||
(substituteAll {
|
||||
src = ./code.patch;
|
||||
src = builtins.path {
|
||||
path = ./code.patch;
|
||||
name = "${src.name}-patch";
|
||||
};
|
||||
inherit ffmpeg;
|
||||
filepicker = lib.getExe filepicker;
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user