jetify-com / devbox

Instant, easy, and predictable development environments
https://www.jetify.com/devbox/
Apache License 2.0
8.61k stars 197 forks source link

devbox rm <package> not working on Ubuntu 22.04 #1936

Closed mrpastewart closed 7 months ago

mrpastewart commented 7 months ago

What happened?

When I try to remove a package using devbox rm specifically devbox rm php or devbox rm php@latest it fails with

Warning: the following packages were not found in your devbox.json: php

The package is indeed in my .json file but it fails to remove it as I can still execute the php-cli

Steps to reproduce

1. 2. 3.

Command

rm

devbox.json

{
  "$schema":  "https://raw.githubusercontent.com/jetpack-io/devbox/0.10.1/.sche>
  "packages": ["php@latest"],
  "shell": {
    "init_hook": [
      "echo 'Welcome to devbox!' > /dev/null"
    ],
    "scripts": {
      "test": [
        "echo \"Error: no test specified\" && exit 1"
      ]
    }
  }
}

Devbox version

0.10.1

Nix version

2.18.1

What system does this bug occur on?

Linux (x86-64)

Debug logs

2024/03/28 10:24:05 findProjectDir: path is 2024/03/28 10:24:05 finding devbox config in dir: /home/platform/devtest 2024/03/28 10:24:05 findProjectDir: path is 2024/03/28 10:24:05 finding devbox config in dir: /home/platform/devtest 2024/03/28 10:24:05 findProjectDir: path is 2024/03/28 10:24:05 finding devbox config in dir: /home/platform/devtest Warning: the following packages were not found in your devbox.json: php 2024/03/28 10:24:05 Creating files for package "php@latest" create files 2024/03/28 10:24:05 Creating file "/home/platform/devtest/.devbox/virtenv/php/process-compose.yaml" from contentPath: "php/process-compose.yaml" 2024/03/28 10:24:05 Creating file "/home/platform/devtest/.devbox/virtenv/php/flake/flake.nix" from contentPath: "php/flake.nix" 2024/03/28 10:24:05 running command: /home/platform/.nix-profile/bin/nix search path:/home/platform/devtest/.devbox/virtenv/php/flake ^ --json --extra-experimental-features ca-derivations --option experimental-features nix-command flakes fetch-closure 2024/03/28 10:24:05 running command: /home/platform/.nix-profile/bin/nix search path:/home/platform/devtest/.devbox/virtenv/php/flake#composer ^ --json --extra-experimental-features ca-derivations --option experimental-features nix-command flakes fetch-closure 2024/03/28 10:24:06 current environment PATH is: /home/platform/devtest/.devbox/nix/profile/default/bin:/nix/store/znqwpxy9jlxcgi2ms2hga0ch87bbbr9g-patchelf-0.15.0/bin:/nix/store/zlzz2z48s7ry0hkl55xiqp5a73b4mzrg-gcc-wrapper-12.3.0/bin:/nix/store/0b9bsznqs6pdg42dxcwvrlmarjn2p6a1-gcc-12.3.0/bin:/nix/store/nvh3jgs8pqghnsfzbv28004xkigiw8gc-glibc-2.38-23-bin/bin:/nix/store/vwkvhj69z4qqgmpa2lwm97kabf12p26r-coreutils-9.3/bin:/nix/store/h8d2j0prdf7pnpgyrgkxrrbfwnmxbq6y-binutils-wrapper-2.40/bin:/nix/store/p58l5qmzifl20qmjs3xfpl01f0mqlza2-binutils-2.40/bin:/nix/store/qyzfglbrqb5ck0dgljplin2bvc4995w7-findutils-4.9.0/bin:/nix/store/x6y2i213maj6ibcn0qzgg7graif5qcvi-diffutils-3.10/bin:/nix/store/g5p3ky90xa05ggg5szyb0pbbl2vp7n03-gnused-4.9/bin:/nix/store/p2r51wfg9m3ga7pp7avslpfhfa7w5y83-gnugrep-3.11/bin:/nix/store/cmn958i8qym0qvmvydl23fh3bm3fbhl7-gawk-5.2.2/bin:/nix/store/f5qy259g9b4qh0hwz22z5j5bq3m53cpv-gnutar-1.35/bin:/nix/store/kmr52zpw7wazxywqvzgpdx0vnn9prd3v-gzip-1.13/bin:/nix/store/w1mar48lwkavwy64mvj567lwaqnm2l11-bzip2-1.0.8-bin/bin:/nix/store/9dh2csn531by6b1vr9jv85v4k17xwkid-gnumake-4.4.1/bin:/nix/store/lf0wpjrj8yx4gsmw2s3xfl58ixmqk8qa-bash-5.2-p15/bin:/nix/store/pinwlz7294p37d2sbkdpjildzxii42vv-patch-2.7.6/bin:/nix/store/skrzk0g88jf9rg28labqsyxv7gg357q1-xz-5.4.4-bin/bin:/nix/store/h5pshzq92r2xcv6w1p10cmkar4nyv0xp-file-5.45/bin:/home/platform/devtest/.devbox/virtenv/runx/bin:/home/platform/.nix-profile/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin ⣾ Computing the Devbox environment... 2024/03/28 10:24:06 Running print-dev-env cmd: /home/platform/.nix-profile/bin/nix print-dev-env path:/home/platform/devtest/.devbox/gen/flake --extra-experimental-features ca-derivations --option experimental-features nix-command flakes fe✓ Computed the Devbox environment. 2024/03/28 10:24:07 nix environment PATH is: map[AR:ar AS:as CC:gcc COLORTERM:truecolor CONFIG_SHELL:/nix/store/lf0wpjrj8yx4gsmw2s3xfl58ixmqk8qa-bash-5.2-p15/bin/bash CXX:g++ DBUS_SESSION_BUS_ADDRESS:unix:path=/run/user/1001/bus DEFAULTS_PATH:/usr/share/gconf/ubuntu.default.path DESKTOP_SESSION:ubuntu DEVBOX_CONFIG_DIR:/home/platform/devtest/devbox.d DEVBOX_DEBUG:1 DEVBOX_INIT_PATH:/home/platform/.nix-profile/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin DEVBOX_NIX_ENV_PATH_c4cf08c47e7da144d5bc0f4b3fdda287cfaf39cd8c2e797beb3bdc4c3ad278a4:/home/platform/devtest/.devbox/nix/profile/default/bin:/nix/store/znqwpxy9jlxcgi2ms2hga0ch87bbbr9g-patchelf-0.15.0/bin:/nix/store/zlzz2z48s7ry0hkl55xiqp5a73b4mzrg-gcc-wrapper-12.3.0/bin:/nix/store/0b9bsznqs6pdg42dxcwvrlmarjn2p6a1-gcc-12.3.0/bin:/nix/store/nvh3jgs8pqghnsfzbv28004xkigiw8gc-glibc-2.38-23-bin/bin:/nix/store/vwkvhj69z4qqgmpa2lwm97kabf12p26r-coreutils-9.3/bin:/nix/store/h8d2j0prdf7pnpgyrgkxrrbfwnmxbq6y-binutils-wrapper-2.40/bin:/nix/store/p58l5qmzifl20qmjs3xfpl01f0mqlza2-binutils-2.40/bin:/nix/store/qyzfglbrqb5ck0dgljplin2bvc4995w7-findutils-4.9.0/bin:/nix/store/x6y2i213maj6ibcn0qzgg7graif5qcvi-diffutils-3.10/bin:/nix/store/g5p3ky90xa05ggg5szyb0pbbl2vp7n03-gnused-4.9/bin:/nix/store/p2r51wfg9m3ga7pp7avslpfhfa7w5y83-gnugrep-3.11/bin:/nix/store/cmn958i8qym0qvmvydl23fh3bm3fbhl7-gawk-5.2.2/bin:/nix/store/f5qy259g9b4qh0hwz22z5j5bq3m53cpv-gnutar-1.35/bin:/nix/store/kmr52zpw7wazxywqvzgpdx0vnn9prd3v-gzip-1.13/bin:/nix/store/w1mar48lwkavwy64mvj567lwaqnm2l11-bzip2-1.0.8-bin/bin:/nix/store/9dh2csn531by6b1vr9jv85v4k17xwkid-gnumake-4.4.1/bin:/nix/store/lf0wpjrj8yx4gsmw2s3xfl58ixmqk8qa-bash-5.2-p15/bin:/nix/store/pinwlz7294p37d2sbkdpjildzxii42vv-patch-2.7.6/bin:/nix/store/skrzk0g88jf9rg28labqsyxv7gg357q1-xz-5.4.4-bin/bin:/nix/store/h5pshzq92r2xcv6w1p10cmkar4nyv0xp-file-5.45/bin:/home/platform/devtest/.devbox/virtenv/runx/bin DEVBOX_PACKAGES_DIR:/home/platform/devtest/.devbox/nix/profile/default DEVBOX_PATH_STACK:DEVBOX_NIX_ENV_PATH_c4cf08c47e7da144d5bc0f4b3fdda287cfaf39cd8c2e797beb3bdc4c3ad278a4:DEVBOX_INIT_PATH DEVBOX_PROJECT_ROOT:/home/platform/devtest DEVBOX_SYSTEM_BASH:/usr/bin/bash DEVBOX_SYSTEM_SED:/usr/bin/sed DIRENV_DIFF:eJzsWe1zm0iT_1co7r6tQbwK0NZ-wBK2lCiSVlLseCtV1AADjIBhmEGA2Mr_fgWSbdlycrdJ7nk-PHGVbejp_nX3vPTL8DdP-NHf_MreTvkRP9gzOkhzH6QD5iE8Ont_en0e6B-Or0-0CGSQncudCAwDchI4PfFX_KfJrTuxt7Y7ma03j-pZDCgc7L09LvejM0qE8wyeIx_J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hTAQgOG7dE0YCjPMg71LE_fGxUCnAVOoaWt9ifHurtwQTbzAl_9jRPUjYzG9jiofAWpPiYDnBai-YCrZ41raYxj9GV_VAzW7aWhgEtN-bhvueSzVzSu341f1ltiKsEyJskBbcnPStICPEDiGVRL66THkmFSLtpQJmEehxZB9_rSjjpwh0Ss11W9qOgJfTiefq163b7b9fPo9O6xHv7muN5BUcce3sFX74DAAD_HgY6A= DISPLAY::1 GDMSESSION:ubuntu GNOME_DESKTOP_SESSION_ID:this-is-deprecated GNOME_SHELL_SESSION_MODE:ubuntu GNOME_TERMINAL_SCREEN:/org/gnome/Terminal/screen/38a25ca1_8e47_43d0_9c6e_905fea697f42 GNOME_TERMINAL_SERVICE::1.471 GPG_AGENT_INFO:/run/user/1001/gnupg/S.gpg-agent:0:1 GTK_IM_MODULE:ibus GTK_MODULES:gail:atk-bridge HOME:/home/platform HOST_PATH:/nix/store/z8g2j13cynr8bgiyn70pxixf7862iqxk-php-with-extensions-8.3.4/bin:/nix/store/g791bq4a0qnc2gja43hbjkn0yjknfz1n-composer-2.7.2/bin:/nix/store/vwkvhj69z4qqgmpa2lwm97kabf12p26r-coreutils-9.3/bin:/nix/store/qyzfglbrqb5ck0dgljplin2bvc4995w7-findutils-4.9.0/bin:/nix/store/x6y2i213maj6ibcn0qzgg7graif5qcvi-diffutils-3.10/bin:/nix/store/g5p3ky90xa05ggg5szyb0pbbl2vp7n03-gnused-4.9/bin:/nix/store/p2r51wfg9m3ga7pp7avslpfhfa7w5y83-gnugrep-3.11/bin:/nix/store/cmn958i8qym0qvmvydl23fh3bm3fbhl7-gawk-5.2.2/bin:/nix/store/f5qy259g9b4qh0hwz22z5j5bq3m53cpv-gnutar-1.35/bin:/nix/store/kmr52zpw7wazxywqvzgpdx0vnn9prd3v-gzip-1.13/bin:/nix/store/w1mar48lwkavwy64mvj567lwaqnm2l11-bzip2-1.0.8-bin/bin:/nix/store/9dh2csn531by6b1vr9jv85v4k17xwkid-gnumake-4.4.1/bin:/nix/store/lf0wpjrj8yx4gsmw2s3xfl58ixmqk8qa-bash-5.2-p15/bin:/nix/store/pinwlz7294p37d2sbkdpjildzxii42vv-patch-2.7.6/bin:/nix/store/skrzk0g88jf9rg28labqsyxv7gg357q1-xz-5.4.4-bin/bin:/nix/store/h5pshzq92r2xcv6w1p10cmkar4nyv0xp-file-5.45/bin IN_NIX_SHELL:impure LANG:C.UTF-8 LAUNCHER_PATH:/usr/local/bin/devbox LAUNCHER_VERSION:0.2.1 LD:ld LESSCLOSE:/usr/bin/lesspipe %s %s LESSOPEN:| /usr/bin/lesspipe %s LOGNAME:platform LS_COLORS:rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.webp=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36: MANDATORY_PATH:/usr/share/gconf/ubuntu.mandatory.path NIX_BINTOOLS:/nix/store/h8d2j0prdf7pnpgyrgkxrrbfwnmxbq6y-binutils-wrapper-2.40 NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu:1 NIX_BUILD_CORES:4 NIX_CC:/nix/store/zlzz2z48s7ry0hkl55xiqp5a73b4mzrg-gcc-wrapper-12.3.0 NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu:1 NIX_CFLAGS_COMPILE: -frandom-seed=ws4smqz9w7 NIX_ENFORCE_NO_NATIVE:1 NIX_HARDENING_ENABLE:fortify fortify3 stackprotector pic strictoverflow format relro bindnow NIX_LDFLAGS:-rpath /nix/store/ws4smqz9w7p4n1q2a97w37qj7wxa3waq-nix-shell-env/lib NIX_PROFILES:/nix/var/nix/profiles/default /home/platform/.nix-profile NIX_SSL_CERT_FILE:/etc/ssl/certs/ca-certificates.crt NIX_STORE:/nix/store NM:nm OBJCOPY:objcopy OBJDUMP:objdump OLDPWD: PATH:/nix/store/znqwpxy9jlxcgi2ms2hga0ch87bbbr9g-patchelf-0.15.0/bin:/nix/store/zlzz2z48s7ry0hkl55xiqp5a73b4mzrg-gcc-wrapper-12.3.0/bin:/nix/store/0b9bsznqs6pdg42dxcwvrlmarjn2p6a1-gcc-12.3.0/bin:/nix/store/nvh3jgs8pqghnsfzbv28004xkigiw8gc-glibc-2.38-23-bin/bin:/nix/store/vwkvhj69z4qqgmpa2lwm97kabf12p26r-coreutils-9.3/bin:/nix/store/h8d2j0prdf7pnpgyrgkxrrbfwnmxbq6y-binutils-wrapper-2.40/bin:/nix/store/p58l5qmzifl20qmjs3xfpl01f0mqlza2-binutils-2.40/bin:/nix/store/z8g2j13cynr8bgiyn70pxixf7862iqxk-php-with-extensions-8.3.4/bin:/nix/store/g791bq4a0qnc2gja43hbjkn0yjknfz1n-composer-2.7.2/bin:/nix/store/vwkvhj69z4qqgmpa2lwm97kabf12p26r-coreutils-9.3/bin:/nix/store/qyzfglbrqb5ck0dgljplin2bvc4995w7-findutils-4.9.0/bin:/nix/store/x6y2i213maj6ibcn0qzgg7graif5qcvi-diffutils-3.10/bin:/nix/store/g5p3ky90xa05ggg5szyb0pbbl2vp7n03-gnused-4.9/bin:/nix/store/p2r51wfg9m3ga7pp7avslpfhfa7w5y83-gnugrep-3.11/bin:/nix/store/cmn958i8qym0qvmvydl23fh3bm3fbhl7-gawk-5.2.2/bin:/nix/store/f5qy259g9b4qh0hwz22z5j5bq3m53cpv-gnutar-1.35/bin:/nix/store/kmr52zpw7wazxywqvzgpdx0vnn9prd3v-gzip-1.13/bin:/nix/store/w1mar48lwkavwy64mvj567lwaqnm2l11-bzip2-1.0.8-bin/bin:/nix/store/9dh2csn531by6b1vr9jv85v4k17xwkid-gnumake-4.4.1/bin:/nix/store/lf0wpjrj8yx4gsmw2s3xfl58ixmqk8qa-bash-5.2-p15/bin:/nix/store/pinwlz7294p37d2sbkdpjildzxii42vv-patch-2.7.6/bin:/nix/store/skrzk0g88jf9rg28labqsyxv7gg357q1-xz-5.4.4-bin/bin:/nix/store/h5pshzq92r2xcv6w1p10cmkar4nyv0xp-file-5.45/bin PHPFPM_ERROR_LOG_FILE:/home/platform/devtest/.devbox/virtenv/php/php-fpm.log PHPFPM_PID_FILE:/home/platform/devtest/.devbox/virtenv/php/php-fpm.pid PHPFPM_PORT:8082 PHPRC:/home/platform/devtest/devbox.d/php QT_ACCESSIBILITY:1 QT_IM_MODULE:ibus RANLIB:ranlib READELF:readelf SESSION_MANAGER:local/usnyc3dt-p001:@/tmp/.ICE-unix/3374,unix/usnyc3dt-p001:/tmp/.ICE-unix/3374 SIZE:size SOURCE_DATE_EPOCH:315532800 SSH_AGENT_LAUNCHER:gnome-keyring SSH_AUTH_SOCK:/run/user/1001/keyring/ssh STRINGS:strings STRIP:strip SYSTEMD_EXEC_PID:3399 TERM:xterm-256color USER:platform USERNAME:platform VTE_VERSION:6800 WINDOWPATH:2 XAUTHORITY:/run/user/1001/gdm/Xauthority XDG_CONFIG_DIRS:/etc/xdg/xdg-ubuntu:/etc/xdg XDG_CURRENT_DESKTOP:ubuntu:GNOME XDG_DATA_DIRS:/nix/store/znqwpxy9jlxcgi2ms2hga0ch87bbbr9g-patchelf-0.15.0/share XDG_MENU_PREFIX:gnome- XDG_RUNTIME_DIR:/run/user/1001 XDG_SESSION_CLASS:user XDG_SESSION_DESKTOP:ubuntu XDG_SESSION_TYPE:x11 XMODIFIERS:@im=ibus DEVBOX_INIT_HOOK_c4cf08c47e7da144d5bc0f4b3fdda287cfaf39cd8c2e797beb3bdc4c3ad278a4: DEVBOX_SHELLENV_HASH_c4cf08c47e7da144d5bc0f4b3fdda287cfaf39cd8c2e797beb3bdc4c3ad278a4:72854925ca431a3f0f66071c5632916c27eac3f5b02604e0c9e103ff5631f5af DEVBOX_VERSION_CHECK:1 ETC_PROFILE_NIX_SOURCED:1 __structuredAttrs: buildInputs:/nix/store/z8g2j13cynr8bgiyn70pxixf7862iqxk-php-with-extensions-8.3.4 /nix/store/g791bq4a0qnc2gja43hbjkn0yjknfz1n-composer-2.7.2 buildPhase:{ echo "------------------------------------------------------------"; echo " WARNING: the existence of this path is not guaranteed."; echo " It is an internal implementation detail for pkgs.mkShell."; echo "------------------------------------------------------------"; echo;

Record all build inputs as runtime dependencies

export; } >> "$out" builder:/nix/store/lf0wpjrj8yx4gsmw2s3xfl58ixmqk8qa-bash-5.2-p15/bin/bash cmakeFlags: configureFlags: depsBuildBuild: depsBuildBuildPropagated: depsBuildTarget: depsBuildTargetPropagated: depsHostHost: depsHostHostPropagated: depsTargetTarget: depsTargetTargetPropagated: doCheck: doInstallCheck: dontAddDisableDepTrack:1 mesonFlags: name:nix-shell-env nativeBuildInputs: out:/nix/store/ws4smqz9w7p4n1q2a97w37qj7wxa3waq-nix-shell-env outputs:out patches: phases:buildPhase preferLocalBuild:1 propagatedBuildInputs: propagatedNativeBuildInputs: shell:/nix/store/lf0wpjrj8yx4gsmw2s3xfl58ixmqk8qa-bash-5.2-p15/bin/bash shellHook: stdenv:/nix/store/bbxdw4rgwwl3gnajri82yidr1nlsfskf-stdenv-linux strictDeps: system:x86_64-linux] 2024/03/28 10:24:07 PATH after plugins and config is: /home/platform/devtest/.devbox/nix/profile/default/bin:/nix/store/znqwpxy9jlxcgi2ms2hga0ch87bbbr9g-patchelf-0.15.0/bin:/nix/store/zlzz2z48s7ry0hkl55xiqp5a73b4mzrg-gcc-wrapper-12.3.0/bin:/nix/store/0b9bsznqs6pdg42dxcwvrlmarjn2p6a1-gcc-12.3.0/bin:/nix/store/nvh3jgs8pqghnsfzbv28004xkigiw8gc-glibc-2.38-23-bin/bin:/nix/store/vwkvhj69z4qqgmpa2lwm97kabf12p26r-coreutils-9.3/bin:/nix/store/h8d2j0prdf7pnpgyrgkxrrbfwnmxbq6y-binutils-wrapper-2.40/bin:/nix/store/p58l5qmzifl20qmjs3xfpl01f0mqlza2-binutils-2.40/bin:/nix/store/z8g2j13cynr8bgiyn70pxixf7862iqxk-php-with-extensions-8.3.4/bin:/nix/store/g791bq4a0qnc2gja43hbjkn0yjknfz1n-composer-2.7.2/bin:/nix/store/qyzfglbrqb5ck0dgljplin2bvc4995w7-findutils-4.9.0/bin:/nix/store/x6y2i213maj6ibcn0qzgg7graif5qcvi-diffutils-3.10/bin:/nix/store/g5p3ky90xa05ggg5szyb0pbbl2vp7n03-gnused-4.9/bin:/nix/store/p2r51wfg9m3ga7pp7avslpfhfa7w5y83-gnugrep-3.11/bin:/nix/store/cmn958i8qym0qvmvydl23fh3bm3fbhl7-gawk-5.2.2/bin:/nix/store/f5qy259g9b4qh0hwz22z5j5bq3m53cpv-gnutar-1.35/bin:/nix/store/kmr52zpw7wazxywqvzgpdx0vnn9prd3v-gzip-1.13/bin:/nix/store/w1mar48lwkavwy64mvj567lwaqnm2l11-bzip2-1.0.8-bin/bin:/nix/store/9dh2csn531by6b1vr9jv85v4k17xwkid-gnumake-4.4.1/bin:/nix/store/lf0wpjrj8yx4gsmw2s3xfl58ixmqk8qa-bash-5.2-p15/bin:/nix/store/pinwlz7294p37d2sbkdpjildzxii42vv-patch-2.7.6/bin:/nix/store/skrzk0g88jf9rg28labqsyxv7gg357q1-xz-5.4.4-bin/bin:/nix/store/h5pshzq92r2xcv6w1p10cmkar4nyv0xp-file-5.45/bin 2024/03/28 10:24:07 returning false for path /nix/store/z8g2j13cynr8bgiyn70pxixf7862iqxk-php-with-extensions-8.3.4/bin and input /nix/store/z8g2j13cynr8bgiyn70pxixf7862iqxk-php-with-extensions-8.3.4 2024/03/28 10:24:07 returning false for path /nix/store/g791bq4a0qnc2gja43hbjkn0yjknfz1n-composer-2.7.2/bin and input /nix/store/g791bq4a0qnc2gja43hbjkn0yjknfz1n-composer-2.7.2 2024/03/28 10:24:07 PATH after filtering with buildInputs ([/nix/store/z8g2j13cynr8bgiyn70pxixf7862iqxk-php-with-extensions-8.3.4 /nix/store/g791bq4a0qnc2gja43hbjkn0yjknfz1n-composer-2.7.2]) is: /home/platform/devtest/.devbox/nix/profile/default/bin:/nix/store/znqwpxy9jlxcgi2ms2hga0ch87bbbr9g-patchelf-0.15.0/bin:/nix/store/zlzz2z48s7ry0hkl55xiqp5a73b4mzrg-gcc-wrapper-12.3.0/bin:/nix/store/0b9bsznqs6pdg42dxcwvrlmarjn2p6a1-gcc-12.3.0/bin:/nix/store/nvh3jgs8pqghnsfzbv28004xkigiw8gc-glibc-2.38-23-bin/bin:/nix/store/vwkvhj69z4qqgmpa2lwm97kabf12p26r-coreutils-9.3/bin:/nix/store/h8d2j0prdf7pnpgyrgkxrrbfwnmxbq6y-binutils-wrapper-2.40/bin:/nix/store/p58l5qmzifl20qmjs3xfpl01f0mqlza2-binutils-2.40/bin:/nix/store/qyzfglbrqb5ck0dgljplin2bvc4995w7-findutils-4.9.0/bin:/nix/store/x6y2i213maj6ibcn0qzgg7graif5qcvi-diffutils-3.10/bin:/nix/store/g5p3ky90xa05ggg5szyb0pbbl2vp7n03-gnused-4.9/bin:/nix/store/p2r51wfg9m3ga7pp7avslpfhfa7w5y83-gnugrep-3.11/bin:/nix/store/cmn958i8qym0qvmvydl23fh3bm3fbhl7-gawk-5.2.2/bin:/nix/store/f5qy259g9b4qh0hwz22z5j5bq3m53cpv-gnutar-1.35/bin:/nix/store/kmr52zpw7wazxywqvzgpdx0vnn9prd3v-gzip-1.13/bin:/nix/store/w1mar48lwkavwy64mvj567lwaqnm2l11-bzip2-1.0.8-bin/bin:/nix/store/9dh2csn531by6b1vr9jv85v4k17xwkid-gnumake-4.4.1/bin:/nix/store/lf0wpjrj8yx4gsmw2s3xfl58ixmqk8qa-bash-5.2-p15/bin:/nix/store/pinwlz7294p37d2sbkdpjildzxii42vv-patch-2.7.6/bin:/nix/store/skrzk0g88jf9rg28labqsyxv7gg357q1-xz-5.4.4-bin/bin:/nix/store/h5pshzq92r2xcv6w1p10cmkar4nyv0xp-file-5.45/bin 2024/03/28 10:24:07 New path stack is: DEVBOX_NIX_ENV_PATH_c4cf08c47e7da144d5bc0f4b3fdda287cfaf39cd8c2e797beb3bdc4c3ad278a4:DEVBOX_INIT_PATH 2024/03/28 10:24:07 computed environment PATH is: /home/platform/devtest/.devbox/nix/profile/default/bin:/nix/store/znqwpxy9jlxcgi2ms2hga0ch87bbbr9g-patchelf-0.15.0/bin:/nix/store/zlzz2z48s7ry0hkl55xiqp5a73b4mzrg-gcc-wrapper-12.3.0/bin:/nix/store/0b9bsznqs6pdg42dxcwvrlmarjn2p6a1-gcc-12.3.0/bin:/nix/store/nvh3jgs8pqghnsfzbv28004xkigiw8gc-glibc-2.38-23-bin/bin:/nix/store/vwkvhj69z4qqgmpa2lwm97kabf12p26r-coreutils-9.3/bin:/nix/store/h8d2j0prdf7pnpgyrgkxrrbfwnmxbq6y-binutils-wrapper-2.40/bin:/nix/store/p58l5qmzifl20qmjs3xfpl01f0mqlza2-binutils-2.40/bin:/nix/store/qyzfglbrqb5ck0dgljplin2bvc4995w7-findutils-4.9.0/bin:/nix/store/x6y2i213maj6ibcn0qzgg7graif5qcvi-diffutils-3.10/bin:/nix/store/g5p3ky90xa05ggg5szyb0pbbl2vp7n03-gnused-4.9/bin:/nix/store/p2r51wfg9m3ga7pp7avslpfhfa7w5y83-gnugrep-3.11/bin:/nix/store/cmn958i8qym0qvmvydl23fh3bm3fbhl7-gawk-5.2.2/bin:/nix/store/f5qy259g9b4qh0hwz22z5j5bq3m53cpv-gnutar-1.35/bin:/nix/store/kmr52zpw7wazxywqvzgpdx0vnn9prd3v-gzip-1.13/bin:/nix/store/w1mar48lwkavwy64mvj567lwaqnm2l11-bzip2-1.0.8-bin/bin:/nix/store/9dh2csn531by6b1vr9jv85v4k17xwkid-gnumake-4.4.1/bin:/nix/store/lf0wpjrj8yx4gsmw2s3xfl58ixmqk8qa-bash-5.2-p15/bin:/nix/store/pinwlz7294p37d2sbkdpjildzxii42vv-patch-2.7.6/bin:/nix/store/skrzk0g88jf9rg28labqsyxv7gg357q1-xz-5.4.4-bin/bin:/nix/store/h5pshzq92r2xcv6w1p10cmkar4nyv0xp-file-5.45/bin:/home/platform/devtest/.devbox/virtenv/runx/bin:/home/platform/.nix-profile/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 2024/03/28 10:24:07 findProjectDir: path is 2024/03/28 10:24:07 finding devbox config in dir: /home/platform/devtest direnv: loading ~/devtest/.envrc direnv: using devbox direnv: export +AR +AS +CC +CONFIG_SHELL +CXX +DEVBOX_CONFIG_DIR +DEVBOX_INIT_PATH +DEVBOX_NIX_ENV_PATH_c4cf08c47e7da144d5bc0f4b3fdda287cfaf39cd8c2e797beb3bdc4c3ad278a4 +DEVBOX_PACKAGES_DIR +DEVBOX_PATH_STACK +DEVBOX_PROJECT_ROOT +DEVBOX_SYSTEM_BASH +DEVBOX_SYSTEM_SED +HOST_PATH +IN_NIX_SHELL +LAUNCHER_PATH +LAUNCHER_VERSION +LD +NIX_BINTOOLS +NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu +NIX_BUILD_CORES +NIX_CC +NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu +NIX_CFLAGS_COMPILE +NIX_ENFORCE_NO_NATIVE +NIX_HARDENING_ENABLE +NIX_LDFLAGS +NIX_PROFILES +NIX_SSL_CERT_FILE +NIX_STORE +NM +OBJCOPY +OBJDUMP +PHPFPM_ERROR_LOG_FILE +PHPFPM_PID_FILE +PHPFPM_PORT +PHPRC +RANLIB +READELF +SIZE +SOURCE_DATE_EPOCH +STRINGS +STRIP +DEVBOX_INIT_HOOK_c4cf08c47e7da144d5bc0f4b3fdda287cfaf39cd8c2e797beb3bdc4c3ad278a4 +__DEVBOX_SHELLENV_HASH_c4cf08c47e7da144d5bc0f4b3fdda287cfaf39cd8c2e797beb3bdc4c3ad278a4 +ETC_PROFILE_NIX_SOURCED +__structuredAttrs +buildInputs +buildPhase +builder +cmakeFlags +configureFlags +depsBuildBuild +depsBuildBuildPropagated +depsBuildTarget +depsBuildTargetPropagated +depsHostHost +depsHostHostPropagated +depsTargetTarget +depsTargetTargetPropagated +doCheck +doInstallCheck +dontAddDisableDepTrack +mesonFlags +name +nativeBuildInputs +out +outputs +patches +phases +preferLocalBuild +propagatedBuildInputs +propagatedNativeBuildInputs +shell +shellHook +stdenv +strictDeps +system ~PATH ~XDG_DATA_DIRS

savil commented 7 months ago

Thanks for filing this bug. I can repro it.