Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/core/io/pathnames/pathnames.factor b/core/io/pathnames/pathnames.factor 2index 2d382e49d1..d4d9228d6c 100644 3--- a/core/io/pathnames/pathnames.factor 4+++ b/core/io/pathnames/pathnames.factor 5@@ -144,7 +144,10 @@ GENERIC: vocab-path ( path -- newpath ) 6 GENERIC: absolute-path ( path -- path' ) 7 8 M: string absolute-path 9- "resource:" ?head [ 10+ "resource:work" ?head [ 11+ trim-head-separators "/var/lib/factor" prepend-path 12+ absolute-path ] 13+ [ "resource:" ?head [ 14 trim-head-separators resource-path 15 absolute-path 16 ] [ 17@@ -158,6 +161,7 @@ M: string absolute-path 18 ] [ 19 current-directory get prepend-path 20 ] if ] if 21+ ] if 22 ] if ; 23 24 M: object normalize-path ( path -- path' )