Open weswalla opened 1 year ago
and then it ultimately fails to build:
error: builder for '/nix/store/ds8lb6fzbq2l4qw9i79icjn32v1hq51m-attr-2.5.1.drv' failed with exit code 2;
last 10 log lines:
> libattr/attr_copy_fd.c:139:46: error: too few arguments to function call, expected 6, have 5
> if (fsetxattr (dst_fd, name, value, size, 0) != 0) {
> ~~~~~~~~~ ^
> /nix/store/90la3rq9nxgkggz7g24rxapvc7kqwh3k-libSystem-11.0.0/include/sys/xattr.h:67:5: note: 'fsetxattr' declared here
> int fsetxattr(int fd, const char *name, const void *value, size_t size, u_int32_t position, int options);
> ^
> 5 errors generated.
> make[1]: *** [Makefile:1018: libattr/la-attr_copy_fd.lo] Error 1
> make[1]: Leaving directory '/private/tmp/nix-build-attr-2.5.1.drv-0/attr-2.5.1'
> make: *** [Makefile:1229: all-recursive] Error 1
For full logs, run 'nix log /nix/store/ds8lb6fzbq2l4qw9i79icjn32v1hq51m-attr-2.5.1.drv'.
error: 1 dependencies of derivation '/nix/store/w9iih41c4g9lgv6wkic1n862x712wjqh-acl-2.3.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/rx9wxjcq1flx2qy4fg28dq9y3849s010-libcap-2.67.drv' failed to build
error: 1 dependencies of derivation '/nix/store/vnn2njbjzlyrzgd28zkx2r6z68m6flfk-systemd-253.3.drv' failed to build
error: 1 dependencies of derivation '/nix/store/l3i92g0rhwpk5l05dp07i7y9bh8y0ncx-gstreamer-vaapi-1.22.2.drv' failed to build
error: 1 dependencies of derivation '/nix/store/wbsn7dk7rlg4qzv3515601yijriazdq8-nix-shell-env.drv' failed to build
when I enter the nix shell from a different repo (like notebooks) that doesn't have all this stuff:
nativeBuildInputs = with pkgs; [
wrapGAppsHook
perl
pkg-config
];
buildInputs = with pkgs; [
openssl
glib
gtk3
gdk-pixbuf
webkitgtk.dev
# Video/Audio data composition framework tools like "gst-inspect", "gst-launch" ...
gst_all_1.gstreamer
# Common plugins like "filesrc" to combine within e.g. gst-launch
gst_all_1.gst-plugins-base
# Specialized plugins separated by quality
gst_all_1.gst-plugins-good
gst_all_1.gst-plugins-bad
gst_all_1.gst-plugins-ugly
# Plugins to reuse ffmpeg to play almost every video format
gst_all_1.gst-libav
# Support the Video Audio (Hardware) Acceleration API
gst_all_1.gst-vaapi
];
I end up getting this error running nix develop
:
error: failed to run custom build command for `we v0.0.11 (/Users/weswalla/lrl/we/src-tauri)`
[1] [0]
[1] [0] Caused by:
[1] [0] process didn't exit successfully: `/Users/weswalla/lrl/we/target/debug/build/we-b4e423125500ee0f/build-script-build` (exit status: 1)
[1] [0] --- stdout
[1] [0] cargo:rerun-if-env-changed=TAURI_CONFIG
[1] [0] cargo:rerun-if-changed=tauri.conf.json
[1] [0] cargo:rustc-cfg=desktop
[1] [0] cargo:rustc-cfg=dev
[1] [0] path matching bins/lair-keystore-v0.2.3-aarch64-apple-darwin not found.
[1] [0] warning: build failed, waiting for other jobs to finish...
Couldn't publish applets yet because the conductor is still setting up, have you entered your password? Retrying again in a few seconds...
just noting that to enter the nix shell I had to run:
NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1 NIXPKGS_ALLOW_BROKEN=1 nix develop --impure
Because otherwise I would get:
and with only
NIXPKGS_ALLOW_BROKEN=1 nix develop --impure
, I got: