Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.33.0 doesn't work when used with Cachix #1389

Closed
rbreslow opened this issue Jan 15, 2025 · 5 comments · Fixed by #1393
Closed

v0.33.0 doesn't work when used with Cachix #1389

rbreslow opened this issue Jan 15, 2025 · 5 comments · Fixed by #1393
Milestone

Comments

@rbreslow
Copy link

Worked on v0.32.3. Now our Azure Pipelines builds are failing to configure Cachix on v0.33.0.

We install Nix with Install-Nix-Template.yml:

steps:
  - task: Bash@3
    displayName: "Install Nix"
    inputs:
      targetType: "inline"
      script: |
        curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install \
          --extra-conf "trusted-users = root vsts" \
          --no-confirm
        echo "##vso[task.prependpath]/nix/var/nix/profiles/default/bin"
        echo "##vso[task.prependpath]$HOME/.nix-profile/bin"

We configure Cachix with Set-up-Cachix-Template.yml:

steps:
  - task: Bash@3
    displayName: "Set up Cachix"
    inputs:
      targetType: "inline"
      script: |
        nix profile install --accept-flake-config nixpkgs#cachix
        cachix authtoken $(cachix-auth-token)
        cachix use $(cache-name)

The CI pipeline runs as the vsts user on Azure Pipelines. Here are the logs from the "Set up Cachix" build step:

2025-01-15T08:14:58.3292774Z ##[section]Starting: Set up Cachix
2025-01-15T08:14:58.3299205Z ==============================================================================
2025-01-15T08:14:58.3299498Z Task         : Bash
2025-01-15T08:14:58.3299774Z Description  : Run a Bash script on macOS, Linux, or Windows
2025-01-15T08:14:58.3299911Z Version      : 3.246.1
2025-01-15T08:14:58.3300026Z Author       : Microsoft Corporation
2025-01-15T08:14:58.3300136Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/bash
2025-01-15T08:14:58.3300323Z ==============================================================================
2025-01-15T08:14:58.4924971Z Generating script.
2025-01-15T08:14:58.4941984Z ========================== Starting Command Output ===========================
2025-01-15T08:14:58.4951365Z [command]/usr/bin/bash /home/vsts/work/_temp/4b8853ea-845c-43af-90d9-4b38c384c186.sh
2025-01-15T08:14:59.1409539Z unpacking 'github:NixOS/nixpkgs/357cd3dfdb8993af11268d755d53357720675e66' into the Git cache...
2025-01-15T08:15:43.7650679Z these 56 paths will be fetched (28.85 MiB download, 128.15 MiB unpacked):
2025-01-15T08:15:43.7652430Z   /nix/store/cf7gkacyxmm66lwl5nj6j6yykbrg4q5c-acl-2.3.2
2025-01-15T08:15:43.7652952Z   /nix/store/a9jgnlhkjkxav6qrc3rzg2q84pkl2wvr-attr-2.5.2
2025-01-15T08:15:43.7657291Z   /nix/store/8r8paiz9p2yy7gmgqb1ad13qb273zvrg-aws-c-auth-0.8.0
2025-01-15T08:15:43.7661028Z   /nix/store/7arrqdcnyph6c9xscaq4gz0ai57wd67g-aws-c-cal-0.8.0
2025-01-15T08:15:43.7661405Z   /nix/store/k9fpyg1mc3zfmgq009376maia0rqfc8v-aws-c-common-0.10.3
2025-01-15T08:15:43.7661993Z   /nix/store/h2h45rh78669ryx3hxl8rl5mdlk1jh8w-aws-c-compression-0.3.0
2025-01-15T08:15:43.7663615Z   /nix/store/2cdcb3982x5pg0fib3dwrp9ch8hr2cgs-aws-c-event-stream-0.5.0
2025-01-15T08:15:43.7666351Z   /nix/store/jfyz9s4na7m2f2ffpxx9crriq04nc4px-aws-c-http-0.9.2
2025-01-15T08:15:43.7669419Z   /nix/store/x6vs6xgvp9qf1d4kqsczh6b7bz1myirk-aws-c-io-0.15.3
2025-01-15T08:15:43.7671902Z   /nix/store/6lw7pi98rifva7qa9yisgdmbc6fpblca-aws-c-mqtt-0.11.0
2025-01-15T08:15:43.7673359Z   /nix/store/kddn5ga4bw5pb3cm8p71mbwdflyi9mkl-aws-c-s3-0.7.1
2025-01-15T08:15:43.7675603Z   /nix/store/ryzw1xrp0csavnsgdfa64ip2q7mfv1g2-aws-c-sdkutils-0.2.1
2025-01-15T08:15:43.7676423Z   /nix/store/3i3d511b4qld21pk0wsczjrnf2qmnzgi-aws-checksums-0.2.2
2025-01-15T08:15:43.7677590Z   /nix/store/2b13vwslx0bmnb41mn5xvn5zcj4fw0ww-aws-crt-cpp-0.29.4
2025-01-15T08:15:43.7678783Z   /nix/store/n6734zk418b00n2ig78bczl6k75z8g6m-aws-sdk-cpp-1.11.448
2025-01-15T08:15:43.7680720Z   /nix/store/5mh7kaj2fyv8mk4sfq1brwxgc02884wi-bash-5.2p37
2025-01-15T08:15:43.7682117Z   /nix/store/c3rvv6g7n526lj53g74xsaj95ilr6iqj-boehm-gc-8.2.8
2025-01-15T08:15:43.7683271Z   /nix/store/8zvalh0pmrmzypynv2gh8mw1vkkys19i-brotli-1.1.0-lib
2025-01-15T08:15:43.7684038Z   /nix/store/6lk29wzcjc240gkhlfz9mc8pd9w02hk0-busybox-1.36.1
2025-01-15T08:15:43.7684892Z   /nix/store/ivl2v8rgg7qh1jkj5pwpqycax3rc2hnl-bzip2-1.0.8
2025-01-15T08:15:43.7687048Z   /nix/store/swbxk0830nj8d4zqmhnr1bg4i2w74fgd-cachix-1.7.5-bin
2025-01-15T08:15:43.7688573Z   /nix/store/8yfak7dis3yqqls4mclzp5jb1ic2jzab-curl-8.11.0
2025-01-15T08:15:43.7691079Z   /nix/store/npm011niqd37yhd776wdkqfa6vffr5mx-editline-1.17.1
2025-01-15T08:15:43.7692034Z   /nix/store/wkysiv0sxqs6wn44nb46bbyig4plzsy4-elfutils-0.192
2025-01-15T08:15:43.7695060Z   /nix/store/bpq1s72cw9qb2fs8mnmlw6hn2c7iy0ss-gcc-14-20241116-lib
2025-01-15T08:15:43.7695933Z   /nix/store/17v0ywnr3akp85pvdi56gwl99ljv95kx-gcc-14-20241116-libgcc
2025-01-15T08:15:43.7697144Z   /nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36
2025-01-15T08:15:43.7698053Z   /nix/store/ghb61mqc90qf1nx6kyahhhagicyxvcyg-gmp-with-cxx-6.3.0
2025-01-15T08:15:43.7699011Z   /nix/store/i1mjz7h6bx4yv5x32wf726b1mgl4yygd-json-c-0.18
2025-01-15T08:15:43.7700067Z   /nix/store/2wh1gqyzf5xsvxpdz2k0bxiz583wwq29-keyutils-1.6.3-lib
2025-01-15T08:15:43.7700831Z   /nix/store/zqkizm9zn19bf9n58xcfxl4ks7yfs8my-krb5-1.21.3-lib
2025-01-15T08:15:43.7701711Z   /nix/store/3rii225g7j0gb8i57mwb9rqq8djssmd3-libarchive-3.7.7-lib
2025-01-15T08:15:43.7702946Z   /nix/store/m373d4b25hnhm82kh4k8ch2fdxbks7wi-libcpuid-0.7.1
2025-01-15T08:15:43.7703749Z   /nix/store/r04wysx6yl7ys1rdv1b1lih6in1810r0-libffi-3.4.6
2025-01-15T08:15:43.7704440Z   /nix/store/q2vc218fd3i9hg6n4sbdk8ap4rb2wipl-libgit2-1.8.4-lib
2025-01-15T08:15:43.7705414Z   /nix/store/34z2792zyd4ayl5186vx0s98ckdaccz9-libidn2-2.3.7
2025-01-15T08:15:43.7706530Z   /nix/store/fkfhss4k4zqi3rqzwgisqa8gm8xjb0b2-libpsl-0.21.5
2025-01-15T08:15:43.7707420Z   /nix/store/s4md4isklyvakji1403jc8gan45s8agx-libseccomp-2.5.5-lib
2025-01-15T08:15:43.7709411Z   /nix/store/z6x0gkvc51068cyr1i2182klbsflbkjw-libsodium-1.0.20
2025-01-15T08:15:43.7732085Z   /nix/store/fp0l21s4j49wcp9l4w59nlb4biy0dr8f-libssh2-1.11.1
2025-01-15T08:15:43.7733127Z   /nix/store/xcqcgqazykf6s7fsn08k0blnh0wisdcl-libunistring-1.3
2025-01-15T08:15:43.7733626Z   /nix/store/f1arw96zb04zn4zh0ycp0vpiz5ampgkz-libxml2-2.13.5
2025-01-15T08:15:43.7734102Z   /nix/store/0sfmdlwxciqmhb7pq0an0ayh3k5dhid5-lowdown-1.3.2-lib
2025-01-15T08:15:43.7734541Z   /nix/store/wm1qn5jqrxpcjkc640gq8a90ns5gw3cn-ncurses-6.4.20221231
2025-01-15T08:15:43.7735061Z   /nix/store/82lh8f5wi6ya5jkcwr036md8630j652d-nghttp2-1.64.0-lib
2025-01-15T08:15:43.7735496Z   /nix/store/w6wybyfakrgnp1rb0mrj66xlj8118z8c-nix-2.24.11
2025-01-15T08:15:43.7735949Z   /nix/store/zi5syqan6x7z73l74bndxskll4328x3h-nix-2.24.11-man
2025-01-15T08:15:43.7736377Z   /nix/store/h1ydpxkw9qhjdxjpic1pdc2nirggyy6f-openssl-3.3.2
2025-01-15T08:15:43.7736798Z   /nix/store/3j1p598fivxs69wx3a657ysv3rw8k06l-pcre2-10.44
2025-01-15T08:15:43.7737268Z   /nix/store/0lj0851s55mkwmylmkcw4m71m7ggl772-publicsuffix-list-0-unstable-2024-12-06
2025-01-15T08:15:43.7737899Z   /nix/store/s6q8phfhz276igkn7487xmd1gm0xx10h-s2n-tls-1.5.7
2025-01-15T08:15:43.7738541Z   /nix/store/dj96qp9vps02l3n8xgc2vallqa9rhafb-sqlite-3.47.0
2025-01-15T08:15:43.7739188Z   /nix/store/acfkqzj5qrqs88a4a6ixnybbjxja663d-xgcc-14-20241116-libgcc
2025-01-15T08:15:43.7739672Z   /nix/store/c2njy6bv84kw1i4bjf5k5gn7gz8hn57n-xz-5.6.3
2025-01-15T08:15:43.7740130Z   /nix/store/cqlaa2xf6lslnizyj9xqa8j0ii1yqw0x-zlib-1.3.1
2025-01-15T08:15:43.7740600Z   /nix/store/s0zynhz13rhg0gg8cy0ga4c0lnv3yqdn-zstd-1.5.6
2025-01-15T08:15:43.7851503Z copying path '/nix/store/6lk29wzcjc240gkhlfz9mc8pd9w02hk0-busybox-1.36.1' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.4857470Z copying path '/nix/store/zi5syqan6x7z73l74bndxskll4328x3h-nix-2.24.11-man' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.4864574Z copying path '/nix/store/xcqcgqazykf6s7fsn08k0blnh0wisdcl-libunistring-1.3' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.4865425Z copying path '/nix/store/17v0ywnr3akp85pvdi56gwl99ljv95kx-gcc-14-20241116-libgcc' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.4866058Z copying path '/nix/store/acfkqzj5qrqs88a4a6ixnybbjxja663d-xgcc-14-20241116-libgcc' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.4866704Z copying path '/nix/store/0lj0851s55mkwmylmkcw4m71m7ggl772-publicsuffix-list-0-unstable-2024-12-06' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.4867237Z copying path '/nix/store/34z2792zyd4ayl5186vx0s98ckdaccz9-libidn2-2.3.7' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.4867762Z copying path '/nix/store/65h17wjrrlsj2rj540igylrx7fqcd6vq-glibc-2.40-36' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.7404017Z copying path '/nix/store/a9jgnlhkjkxav6qrc3rzg2q84pkl2wvr-attr-2.5.2' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.7433505Z copying path '/nix/store/k9fpyg1mc3zfmgq009376maia0rqfc8v-aws-c-common-0.10.3' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.7434462Z copying path '/nix/store/5mh7kaj2fyv8mk4sfq1brwxgc02884wi-bash-5.2p37' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.7435377Z copying path '/nix/store/npm011niqd37yhd776wdkqfa6vffr5mx-editline-1.17.1' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.7491809Z copying path '/nix/store/2wh1gqyzf5xsvxpdz2k0bxiz583wwq29-keyutils-1.6.3-lib' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.7503049Z copying path '/nix/store/8zvalh0pmrmzypynv2gh8mw1vkkys19i-brotli-1.1.0-lib' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.7515767Z copying path '/nix/store/ivl2v8rgg7qh1jkj5pwpqycax3rc2hnl-bzip2-1.0.8' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.7518351Z copying path '/nix/store/bpq1s72cw9qb2fs8mnmlw6hn2c7iy0ss-gcc-14-20241116-lib' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.7521369Z copying path '/nix/store/i1mjz7h6bx4yv5x32wf726b1mgl4yygd-json-c-0.18' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.7524533Z copying path '/nix/store/r04wysx6yl7ys1rdv1b1lih6in1810r0-libffi-3.4.6' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.7527435Z copying path '/nix/store/fkfhss4k4zqi3rqzwgisqa8gm8xjb0b2-libpsl-0.21.5' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.7570906Z copying path '/nix/store/s4md4isklyvakji1403jc8gan45s8agx-libseccomp-2.5.5-lib' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.7573546Z copying path '/nix/store/z6x0gkvc51068cyr1i2182klbsflbkjw-libsodium-1.0.20' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.7576135Z copying path '/nix/store/f1arw96zb04zn4zh0ycp0vpiz5ampgkz-libxml2-2.13.5' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.7578729Z copying path '/nix/store/0sfmdlwxciqmhb7pq0an0ayh3k5dhid5-lowdown-1.3.2-lib' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.7581298Z copying path '/nix/store/m373d4b25hnhm82kh4k8ch2fdxbks7wi-libcpuid-0.7.1' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.7930832Z copying path '/nix/store/82lh8f5wi6ya5jkcwr036md8630j652d-nghttp2-1.64.0-lib' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.8013892Z copying path '/nix/store/h1ydpxkw9qhjdxjpic1pdc2nirggyy6f-openssl-3.3.2' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.8014963Z copying path '/nix/store/wm1qn5jqrxpcjkc640gq8a90ns5gw3cn-ncurses-6.4.20221231' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.8023335Z copying path '/nix/store/cf7gkacyxmm66lwl5nj6j6yykbrg4q5c-acl-2.3.2' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.8158826Z copying path '/nix/store/3j1p598fivxs69wx3a657ysv3rw8k06l-pcre2-10.44' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.8163085Z copying path '/nix/store/c2njy6bv84kw1i4bjf5k5gn7gz8hn57n-xz-5.6.3' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.8370689Z copying path '/nix/store/cqlaa2xf6lslnizyj9xqa8j0ii1yqw0x-zlib-1.3.1' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.8673199Z copying path '/nix/store/ryzw1xrp0csavnsgdfa64ip2q7mfv1g2-aws-c-sdkutils-0.2.1' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.8675002Z copying path '/nix/store/h2h45rh78669ryx3hxl8rl5mdlk1jh8w-aws-c-compression-0.3.0' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.9047401Z copying path '/nix/store/3i3d511b4qld21pk0wsczjrnf2qmnzgi-aws-checksums-0.2.2' from 'https://cache.nixos.org'...
2025-01-15T08:15:44.9776945Z copying path '/nix/store/dj96qp9vps02l3n8xgc2vallqa9rhafb-sqlite-3.47.0' from 'https://cache.nixos.org'...
2025-01-15T08:15:45.4652961Z copying path '/nix/store/zqkizm9zn19bf9n58xcfxl4ks7yfs8my-krb5-1.21.3-lib' from 'https://cache.nixos.org'...
2025-01-15T08:15:45.4656158Z copying path '/nix/store/7arrqdcnyph6c9xscaq4gz0ai57wd67g-aws-c-cal-0.8.0' from 'https://cache.nixos.org'...
2025-01-15T08:15:45.4661083Z copying path '/nix/store/s0zynhz13rhg0gg8cy0ga4c0lnv3yqdn-zstd-1.5.6' from 'https://cache.nixos.org'...
2025-01-15T08:15:45.4667260Z copying path '/nix/store/c3rvv6g7n526lj53g74xsaj95ilr6iqj-boehm-gc-8.2.8' from 'https://cache.nixos.org'...
2025-01-15T08:15:45.4671924Z copying path '/nix/store/ghb61mqc90qf1nx6kyahhhagicyxvcyg-gmp-with-cxx-6.3.0' from 'https://cache.nixos.org'...
2025-01-15T08:15:45.4676584Z copying path '/nix/store/fp0l21s4j49wcp9l4w59nlb4biy0dr8f-libssh2-1.11.1' from 'https://cache.nixos.org'...
2025-01-15T08:15:45.4681787Z copying path '/nix/store/s6q8phfhz276igkn7487xmd1gm0xx10h-s2n-tls-1.5.7' from 'https://cache.nixos.org'...
2025-01-15T08:15:45.5486576Z copying path '/nix/store/q2vc218fd3i9hg6n4sbdk8ap4rb2wipl-libgit2-1.8.4-lib' from 'https://cache.nixos.org'...
2025-01-15T08:15:45.5958622Z copying path '/nix/store/3rii225g7j0gb8i57mwb9rqq8djssmd3-libarchive-3.7.7-lib' from 'https://cache.nixos.org'...
2025-01-15T08:15:45.6077775Z copying path '/nix/store/x6vs6xgvp9qf1d4kqsczh6b7bz1myirk-aws-c-io-0.15.3' from 'https://cache.nixos.org'...
2025-01-15T08:15:45.6622850Z copying path '/nix/store/2cdcb3982x5pg0fib3dwrp9ch8hr2cgs-aws-c-event-stream-0.5.0' from 'https://cache.nixos.org'...
2025-01-15T08:15:45.6626036Z copying path '/nix/store/jfyz9s4na7m2f2ffpxx9crriq04nc4px-aws-c-http-0.9.2' from 'https://cache.nixos.org'...
2025-01-15T08:15:45.6852335Z copying path '/nix/store/8yfak7dis3yqqls4mclzp5jb1ic2jzab-curl-8.11.0' from 'https://cache.nixos.org'...
2025-01-15T08:15:45.6971735Z copying path '/nix/store/6lw7pi98rifva7qa9yisgdmbc6fpblca-aws-c-mqtt-0.11.0' from 'https://cache.nixos.org'...
2025-01-15T08:15:45.6976657Z copying path '/nix/store/8r8paiz9p2yy7gmgqb1ad13qb273zvrg-aws-c-auth-0.8.0' from 'https://cache.nixos.org'...
2025-01-15T08:15:45.7155940Z copying path '/nix/store/kddn5ga4bw5pb3cm8p71mbwdflyi9mkl-aws-c-s3-0.7.1' from 'https://cache.nixos.org'...
2025-01-15T08:15:45.7350121Z copying path '/nix/store/wkysiv0sxqs6wn44nb46bbyig4plzsy4-elfutils-0.192' from 'https://cache.nixos.org'...
2025-01-15T08:15:45.7438395Z copying path '/nix/store/2b13vwslx0bmnb41mn5xvn5zcj4fw0ww-aws-crt-cpp-0.29.4' from 'https://cache.nixos.org'...
2025-01-15T08:15:45.7749053Z copying path '/nix/store/n6734zk418b00n2ig78bczl6k75z8g6m-aws-sdk-cpp-1.11.448' from 'https://cache.nixos.org'...
2025-01-15T08:15:45.9268416Z copying path '/nix/store/w6wybyfakrgnp1rb0mrj66xlj8118z8c-nix-2.24.11' from 'https://cache.nixos.org'...
2025-01-15T08:15:46.3569159Z copying path '/nix/store/swbxk0830nj8d4zqmhnr1bg4i2w74fgd-cachix-1.7.5-bin' from 'https://cache.nixos.org'...
2025-01-15T08:15:47.0297358Z Written to /home/vsts/.config/cachix/cachix.dhall
2025-01-15T08:15:47.4451221Z 
2025-01-15T08:15:47.4452549Z This user doesn't have permissions to configure binary caches.
2025-01-15T08:15:47.4453583Z 
2025-01-15T08:15:47.4454227Z You can either:
2025-01-15T08:15:47.4454568Z 
2025-01-15T08:15:47.4454951Z a) Run the same command as root to configure them globally.
2025-01-15T08:15:47.4502778Z 
2025-01-15T08:15:47.4503507Z b) Run the following command to add your user as trusted 
2025-01-15T08:15:47.4503725Z    and then try again:
2025-01-15T08:15:47.4503834Z 
2025-01-15T08:15:47.4504042Z   echo "trusted-users = root vsts" | sudo tee -a /etc/nix/nix.conf && sudo pkill nix-daemon
2025-01-15T08:15:47.4642874Z 
2025-01-15T08:15:47.4697016Z ##[error]Bash exited with code '1'.
2025-01-15T08:15:47.4745262Z ##[section]Finishing: Set up Cachix
@grahamc
Copy link
Member

grahamc commented Jan 15, 2025

Thank you, we're doing a 100% rollback to the previous version now.

@cole-h
Copy link
Member

cole-h commented Jan 15, 2025

This actually appears to be a bug in Cachix: cachix/cachix#680

They opportunistically read the /etc/nix/nix.conf in an attempt to see if the user is a trusted user (to provide a nicer experience in the case where the user is not trusted and would not be able to add their cachix cache as a substituter), but unfortunately they don't take into account include statements. There is a PR fixing this, cachix/cachix#681, but it is still drafted and unmerged at this point.

@cole-h cole-h changed the title --extra-conf trusted-users not working after v0.33.0 v0.33.0 doesn't work when used with Cachix Jan 15, 2025
@grahamc
Copy link
Member

grahamc commented Jan 15, 2025

By the way @rbreslow, I'm pretty interested in hearing about how Nix on Azure Pipelines is working for you. Would you be up for sending me an email at [email protected] to talk it through a bit?

@rbreslow
Copy link
Author

By the way @rbreslow, I'm pretty interested in hearing about how Nix on Azure Pipelines is working for you. Would you be up for sending me an email at [email protected] to talk it through a bit?

Sure, if not tomorrow, I'll send you something next week.

@grahamc
Copy link
Member

grahamc commented Jan 16, 2025

Hi @rbreslow just wanted to share that v0.34.0 is out, and should fix the issue you're seeing. Note: it is going out to 30% of users at this time, so you may not be getting it yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants