patches and low-level development discussion
 help / color / mirror / code / Atom feed
blob f364fd7e2c29031c4b490f509608a9c8d19183ab 598 bytes (raw)
name: tools/mount-flatpak/default.nix 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 
# SPDX-FileCopyrightText: 2024-2025 Alyssa Ross <hi@alyssa.is>
# SPDX-License-Identifier: MIT

import ../../lib/call-package.nix (
{ src, lib, rustPlatform }:

rustPlatform.buildRustPackage {
  name = "mount-flatpak";

  src = lib.fileset.toSource {
    root = ../..;
    fileset = lib.fileset.intersection src ./.;
  };
  sourceRoot = "source/tools/mount-flatpak";

  cargoLock.lockFile = ./Cargo.lock;

  env = {
    MOUNT_FLATPAK_CONFIG_PATH = "${placeholder "out"}/share/spectrum/flatpak-config";
  };

  postInstall = ''
    install -Dm 0755 config $MOUNT_FLATPAK_CONFIG_PATH
  '';
}) (_: {})

debug log:

solving f364fd7 ...
found f364fd7 in https://inbox.spectrum-os.org/spectrum-devel/20251124194846.16338-1-hi@alyssa.is/ ||
	https://inbox.spectrum-os.org/spectrum-devel/20251127202311.42422-2-hi@alyssa.is/ ||
	https://inbox.spectrum-os.org/spectrum-devel/20251201170458.4186683-7-hi@alyssa.is/ ||
	https://inbox.spectrum-os.org/spectrum-devel/20251201044534.977524-5-hi@alyssa.is/

applying [1/1] https://inbox.spectrum-os.org/spectrum-devel/20251124194846.16338-1-hi@alyssa.is/
diff --git a/tools/mount-flatpak/default.nix b/tools/mount-flatpak/default.nix
new file mode 100644
index 0000000..f364fd7

Checking patch tools/mount-flatpak/default.nix...
Applied patch tools/mount-flatpak/default.nix cleanly.

skipping https://inbox.spectrum-os.org/spectrum-devel/20251127202311.42422-2-hi@alyssa.is/ for f364fd7
skipping https://inbox.spectrum-os.org/spectrum-devel/20251201170458.4186683-7-hi@alyssa.is/ for f364fd7
skipping https://inbox.spectrum-os.org/spectrum-devel/20251201044534.977524-5-hi@alyssa.is/ for f364fd7
index at:
100644 f364fd7e2c29031c4b490f509608a9c8d19183ab	tools/mount-flatpak/default.nix

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/crosvm
	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/nixpkgs
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock
	https://spectrum-os.org/git/www

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).