browserpass-extension: emulate
This commit is contained in:
parent
b343d5d83a
commit
e2ed37196f
|
@ -348,42 +348,37 @@ in {
|
||||||
# # <https://www.gnu.org/software/autoconf/manual/autoconf-2.63/html_node/Runtime.html>
|
# # <https://www.gnu.org/software/autoconf/manual/autoconf-2.63/html_node/Runtime.html>
|
||||||
# };
|
# };
|
||||||
|
|
||||||
# firefox-extensions = prev.firefox-extensions.overrideScope' (self: super: {
|
firefox-extensions = prev.firefox-extensions.overrideScope' (self: super: {
|
||||||
# unwrapped = super.unwrapped // {
|
unwrapped = super.unwrapped // {
|
||||||
# # browserpass-extension = super.unwrapped.browserpass-extension.override {
|
browserpass-extension = super.unwrapped.browserpass-extension.override {
|
||||||
# # # bash: line 1: node_modules/.bin/prettier: cannot execute: required file not found
|
# this overlay is optional for binfmt machines, but non-binfmt can't cross-compile the modules (for use at runtime)
|
||||||
# # # same with less and browserify.
|
mkYarnModules = args: emulateBuildMachine {
|
||||||
# # inherit (emulated) mkYarnModules;
|
override = { stdenv }: (
|
||||||
# # };
|
(final.yarn2nix-moretea.override {
|
||||||
# # browserpass-extension = emulateBuildMachine super.unwrapped.browserpass-extension;
|
pkgs = final.pkgs.__splicedPackages // { inherit stdenv; };
|
||||||
# browserpass-extension = super.unwrapped.browserpass-extension.override {
|
}).mkYarnModules args
|
||||||
# mkYarnModules = args: emulateBuildMachine {
|
).overrideAttrs (upstream: {
|
||||||
# override = { stdenv }: (
|
# i guess the VM creates the output directory for the derivation? not sure.
|
||||||
# (final.yarn2nix-moretea.override {
|
# and `mv` across the VM boundary breaks, too?
|
||||||
# pkgs = final.pkgs.__splicedPackages // { inherit stdenv; };
|
# original errors:
|
||||||
# }).mkYarnModules args
|
# - "mv: cannot create directory <$out>: File exists"
|
||||||
# ).overrideAttrs (upstream: {
|
# - "mv: failed to preserve ownership for"
|
||||||
# # i guess the VM creates the output directory for the derivation? not sure.
|
buildPhase = lib.replaceStrings
|
||||||
# # and `mv` across the VM boundary breaks, too?
|
[
|
||||||
# # original errors:
|
"mkdir $out"
|
||||||
# # - "mv: cannot create directory <$out>: File exists"
|
"mv "
|
||||||
# # - "mv: failed to preserve ownership for"
|
]
|
||||||
# buildPhase = lib.replaceStrings
|
[
|
||||||
# [
|
"mkdir $out || true ; chmod +w deps/browserpass-extension-modules/package.json"
|
||||||
# "mkdir $out"
|
"cp -Rv "
|
||||||
# "mv "
|
]
|
||||||
# ]
|
upstream.buildPhase
|
||||||
# [
|
;
|
||||||
# "mkdir $out || true ; chmod +w deps/browserpass-extension-modules/package.json"
|
});
|
||||||
# "cp -Rv "
|
};
|
||||||
# ]
|
};
|
||||||
# upstream.buildPhase
|
};
|
||||||
# ;
|
});
|
||||||
# });
|
|
||||||
# };
|
|
||||||
# });
|
|
||||||
# };
|
|
||||||
# });
|
|
||||||
|
|
||||||
# 2023/07/31: upstreaming is blocked on ostree dep
|
# 2023/07/31: upstreaming is blocked on ostree dep
|
||||||
# flatpak = prev.flatpak.overrideAttrs (upstream: {
|
# flatpak = prev.flatpak.overrideAttrs (upstream: {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user