Change:
Describe the bug flatpak-builder for some reasons can't use rofiles-fuse To Reproduce Steps to reproduce the behavior: build any app using flatpak-builder Expected behavior flatpak-builder should use rofiles-fuse. Screenshots Additional context Metadata system: host os: multi-user?: sandbox: version: channels(root): channels(piotrek): nixpkgs: Maintainer information:
installing solve this problem so maybe should be ?
We patch the paths to the executables to be hardcoded, so the program doesn't have to rely on something like ostree being installed. I believe one path isn't hardcoded with the current patch That looks it up in PATH, probably why it was working once you installed it.
cc
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly: for maintainers and people that previously touched the related code and @ mention them in a comment. on the . 3. Ask on the on .
should fix that issue.

Discussion:
installed_test_metadir = "${placeholder "installedTests"}/share/installed-tests/flatpak-builder"; in stdenv.mkDerivation rec { pname = "flatpak-builder"; <del> version = "1.0.10"; </del> <ins> version = "1.0.11"; </ins> outputs = [ "out" "doc" "man" "installedTests" ]; src = fetchurl { url = "https://github.com/flatpak/flatpak-builder/releases/download/${version}/${pname}-${version}.tar.xz"; <del> sha256 = "1fn61cl1d33yd1jgqm8jpffjw3xlyyhkn032g14d9gnwkcaf4649"; </del> <ins> sha256 = "EYNLdrvSs8S/GCYy0jGsnP1+C988y1j7WzcLfczM1Ew="; </ins> }; nativeBuildInputs = [

patches = [ # patch taken from gtk_doc ./respect-xml-catalog-files-var.patch <ins> # Hardcode paths </ins> (substituteAll { src = ./fix-paths.patch; <del> bzr = "${breezy}/bin/bzr"; </del> <ins> brz = "${breezy}/bin/brz"; </ins> cp = "${coreutils}/bin/cp"; patch = "${patch}/bin/patch"; tar = "${gnutar}/bin/tar";

<ins> diff --git a/src/builder-context.c b/src/builder-context.c index dde12790..3a379297 100644 </ins> --- a/src/builder-context.c +++ b/src/builder-context.c <ins> @@ -256,7 +256,7 @@ builder_context_init (BuilderContext *self) g_autofree char *path = NULL; self->rofiles_file_lock = init; -  path = g_find_program_in_path ("rofiles-fuse"); +  path = g_find_program_in_path ("@rofilesfuse@"); self->have_rofiles = path != NULL; } </ins> @@ -800,7 +800,7 @@ builder_context_enable_rofiles (BuilderContext *self, g_autoptr(GFile) rofiles_base = NULL; g_autoptr(GFile) rofiles_dir = NULL;

"-o", "kernel_cache,entry_timeout=60,attr_timeout=60,splice_write,splice_move", (char *)flatpak_file_get_path_cached (self->app_dir), <ins> diff --git a/src/builder-git.c b/src/builder-git.c index ef517adb..6ab095f0 100644 </ins> --- a/src/builder-git.c +++ b/src/builder-git.c @@ -44,7 +44,7 @@ git (GFile   *dir,

va_end (ap); return res; <ins> diff --git a/src/builder-source-archive.c b/src/builder-source-archive.c index 3c694e57..0de62318 100644 </ins> --- a/src/builder-source-archive.c +++ b/src/builder-source-archive.c @@ -443,7 +443,7 @@ tar (GFile   *dir,

va_end (ap); return res; <ins> diff --git a/src/builder-source-bzr.c b/src/builder-source-bzr.c index ceeec94a..8abe6f53 100644 </ins> --- a/src/builder-source-bzr.c +++ b/src/builder-source-bzr.c @@ -124,7 +124,7 @@ bzr (GFile   *dir, <ins> gboolean res; </ins> va_list ap; <del> va_start (ap, error); -  res = flatpak_spawn (dir, output, 0, error, "bzr", ap); +  res = flatpak_spawn (dir, output, 0, error, "@bzr@", ap); va_end (ap); </del> <ins> -  brz = g_find_program_in_path ("brz"); +  brz = g_find_program_in_path ("@brz@"); </ins> <del> return res; </del> <ins> va_start (ap, error); res = flatpak_spawn (dir, output, 0, error, brz ? brz : "bzr", ap); diff --git a/src/builder-source-patch.c b/src/builder-source-patch.c index 8721e1e4..d7f4d840 100644 </ins> --- a/src/builder-source-patch.c +++ b/src/builder-source-patch.c @@ -247,15 +247,15 @@ patch (GFile      *dir,

} for (i = 0; extra_options != NULL && extra_options[i] != NULL; i++) g_ptr_array_add (args, (gchar *) extra_options[i]); <ins> diff --git a/src/builder-utils.c b/src/builder-utils.c index f1c06db5..2e3347c5 100644 </ins> --- a/src/builder-utils.c +++ b/src/builder-utils.c @@ -149,7 +149,7 @@ strip (GError **error,