developers options error on determinate ci #11

Closed
opened 2026-05-12 15:46:28 +00:00 by bahrom04 · 2 comments
Owner

https://github.com/bahrom04/nix-config/actions/runs/25744902250/job/75605303832

75
       … from call site
         at /nix/store/c5g91bihd7ifciaja54da3fp0chn5nbh-dvm6jmgyy7fks55v0xly4pa32r8fi1fw-source/xinux-lib/module/default.nix:92:22:
           91|                 user-module =
           92|                   if isFunction imported-user-module then
             |                      ^
           93|                     imported-user-module modified-args

       … while calling 'isFunction'
         at «git+https://git.oss.uzinfocom.uz/xinux/nixpkgs?ref=nixos-unstable&rev=549bd84d6279f9852cae6225e372cc67fb91a4c1&shallow=1»/lib/trivial.nix:1126:16:
         1125|   */
         1126|   isFunction = f: builtins.isFunction f || (f ? __functor && isFunction (f.__functor f));
             |                ^
         1127|

       … while evaluating a branch condition
         at /nix/store/c5g91bihd7ifciaja54da3fp0chn5nbh-dvm6jmgyy7fks55v0xly4pa32r8fi1fw-source/xinux-lib/module/default.nix:92:19:
           91|                 user-module =
           92|                   if isFunction imported-user-module then
             |                   ^
           93|                     imported-user-module modified-args

       … in the left operand of the OR (||) operator
         at «git+https://git.oss.uzinfocom.uz/xinux/nixpkgs?ref=nixos-unstable&rev=549bd84d6279f9852cae6225e372cc67fb91a4c1&shallow=1»/lib/trivial.nix:1126:41:
         1125|   */
         1126|   isFunction = f: builtins.isFunction f || (f ? __functor && isFunction (f.__functor f));
             |                                         ^
         1127|

       … from call site
         at /nix/store/c5g91bihd7ifciaja54da3fp0chn5nbh-dvm6jmgyy7fks55v0xly4pa32r8fi1fw-source/xinux-lib/module/default.nix:92:22:
           91|                 user-module =
           92|                   if isFunction imported-user-module then
             |                      ^
           93|                     imported-user-module modified-args

       … while calling 'isFunction'
         at «git+https://git.oss.uzinfocom.uz/xinux/nixpkgs?ref=nixos-unstable&rev=549bd84d6279f9852cae6225e372cc67fb91a4c1&shallow=1»/lib/trivial.nix:1126:16:
         1125|   */
         1126|   isFunction = f: builtins.isFunction f || (f ? __functor && isFunction (f.__functor f));
             |                ^
         1127|

       … while calling the 'isFunction' builtin
         at «git+https://git.oss.uzinfocom.uz/xinux/nixpkgs?ref=nixos-unstable&rev=549bd84d6279f9852cae6225e372cc67fb91a4c1&shallow=1»/lib/trivial.nix:1126:19:
         1125|   */
         1126|   isFunction = f: builtins.isFunction f || (f ? __functor && isFunction (f.__functor f));
             |                   ^
         1127|

       … in the left operand of the OR (||) operator
         at «git+https://git.oss.uzinfocom.uz/xinux/nixpkgs?ref=nixos-unstable&rev=549bd84d6279f9852cae6225e372cc67fb91a4c1&shallow=1»/lib/trivial.nix:1126:41:
         1125|   */
         1126|   isFunction = f: builtins.isFunction f || (f ? __functor && isFunction (f.__functor f));
             |                                         ^
         1127|

       … while calling the 'isFunction' builtin
         at «git+https://git.oss.uzinfocom.uz/xinux/nixpkgs?ref=nixos-unstable&rev=549bd84d6279f9852cae6225e372cc67fb91a4c1&shallow=1»/lib/trivial.nix:1126:19:
         1125|   */
         1126|   isFunction = f: builtins.isFunction f || (f ? __functor && isFunction (f.__functor f));
             |                   ^
         1127|

       … while calling the 'import' builtin
         at /nix/store/c5g91bihd7ifciaja54da3fp0chn5nbh-dvm6jmgyy7fks55v0xly4pa32r8fi1fw-source/xinux-lib/module/default.nix:90:40:
           89|                 };
           90|                 imported-user-module = import metadata.path;
             |                                        ^
           91|                 user-module =

       … while calling the 'import' builtin
         at /nix/store/c5g91bihd7ifciaja54da3fp0chn5nbh-dvm6jmgyy7fks55v0xly4pa32r8fi1fw-source/xinux-lib/module/default.nix:90:40:
           89|                 };
           90|                 imported-user-module = import metadata.path;
             |                                        ^
           91|                 user-module =

       error: experimental Nix feature 'pipe-operators' is disabled; add '--extra-experimental-features pipe-operators' to enable it
       at /nix/store/n3xfm42bk20zqf6n9c7jxpvckgy062h7-9pym7wrk8vljpwqvsbc0xypbscykq920-source/modules/nixos/developer/default.nix:56:11:
           55|           builtins.attrValues config.users.users
           56|           |> builtins.filter (attr: attr.isNormalUser)
             |           ^
           57|           |> map (u: u.name);

I have pipe operations enable

https://github.com/bahrom04/nix-config/actions/runs/25744902250/job/75605303832 ``` 75 … from call site at /nix/store/c5g91bihd7ifciaja54da3fp0chn5nbh-dvm6jmgyy7fks55v0xly4pa32r8fi1fw-source/xinux-lib/module/default.nix:92:22: 91| user-module = 92| if isFunction imported-user-module then | ^ 93| imported-user-module modified-args … while calling 'isFunction' at «git+https://git.oss.uzinfocom.uz/xinux/nixpkgs?ref=nixos-unstable&rev=549bd84d6279f9852cae6225e372cc67fb91a4c1&shallow=1»/lib/trivial.nix:1126:16: 1125| */ 1126| isFunction = f: builtins.isFunction f || (f ? __functor && isFunction (f.__functor f)); | ^ 1127| … while evaluating a branch condition at /nix/store/c5g91bihd7ifciaja54da3fp0chn5nbh-dvm6jmgyy7fks55v0xly4pa32r8fi1fw-source/xinux-lib/module/default.nix:92:19: 91| user-module = 92| if isFunction imported-user-module then | ^ 93| imported-user-module modified-args … in the left operand of the OR (||) operator at «git+https://git.oss.uzinfocom.uz/xinux/nixpkgs?ref=nixos-unstable&rev=549bd84d6279f9852cae6225e372cc67fb91a4c1&shallow=1»/lib/trivial.nix:1126:41: 1125| */ 1126| isFunction = f: builtins.isFunction f || (f ? __functor && isFunction (f.__functor f)); | ^ 1127| … from call site at /nix/store/c5g91bihd7ifciaja54da3fp0chn5nbh-dvm6jmgyy7fks55v0xly4pa32r8fi1fw-source/xinux-lib/module/default.nix:92:22: 91| user-module = 92| if isFunction imported-user-module then | ^ 93| imported-user-module modified-args … while calling 'isFunction' at «git+https://git.oss.uzinfocom.uz/xinux/nixpkgs?ref=nixos-unstable&rev=549bd84d6279f9852cae6225e372cc67fb91a4c1&shallow=1»/lib/trivial.nix:1126:16: 1125| */ 1126| isFunction = f: builtins.isFunction f || (f ? __functor && isFunction (f.__functor f)); | ^ 1127| … while calling the 'isFunction' builtin at «git+https://git.oss.uzinfocom.uz/xinux/nixpkgs?ref=nixos-unstable&rev=549bd84d6279f9852cae6225e372cc67fb91a4c1&shallow=1»/lib/trivial.nix:1126:19: 1125| */ 1126| isFunction = f: builtins.isFunction f || (f ? __functor && isFunction (f.__functor f)); | ^ 1127| … in the left operand of the OR (||) operator at «git+https://git.oss.uzinfocom.uz/xinux/nixpkgs?ref=nixos-unstable&rev=549bd84d6279f9852cae6225e372cc67fb91a4c1&shallow=1»/lib/trivial.nix:1126:41: 1125| */ 1126| isFunction = f: builtins.isFunction f || (f ? __functor && isFunction (f.__functor f)); | ^ 1127| … while calling the 'isFunction' builtin at «git+https://git.oss.uzinfocom.uz/xinux/nixpkgs?ref=nixos-unstable&rev=549bd84d6279f9852cae6225e372cc67fb91a4c1&shallow=1»/lib/trivial.nix:1126:19: 1125| */ 1126| isFunction = f: builtins.isFunction f || (f ? __functor && isFunction (f.__functor f)); | ^ 1127| … while calling the 'import' builtin at /nix/store/c5g91bihd7ifciaja54da3fp0chn5nbh-dvm6jmgyy7fks55v0xly4pa32r8fi1fw-source/xinux-lib/module/default.nix:90:40: 89| }; 90| imported-user-module = import metadata.path; | ^ 91| user-module = … while calling the 'import' builtin at /nix/store/c5g91bihd7ifciaja54da3fp0chn5nbh-dvm6jmgyy7fks55v0xly4pa32r8fi1fw-source/xinux-lib/module/default.nix:90:40: 89| }; 90| imported-user-module = import metadata.path; | ^ 91| user-module = error: experimental Nix feature 'pipe-operators' is disabled; add '--extra-experimental-features pipe-operators' to enable it at /nix/store/n3xfm42bk20zqf6n9c7jxpvckgy062h7-9pym7wrk8vljpwqvsbc0xypbscykq920-source/modules/nixos/developer/default.nix:56:11: 55| builtins.attrValues config.users.users 56| |> builtins.filter (attr: attr.isNormalUser) | ^ 57| |> map (u: u.name); ``` ## I have pipe operations enable
Owner

I think I answered to this question, but still, the solution is that... Whenever determinate nix installs nix package manager, determinate enables only nix-command & flake features, which leaves pipe-operates disabled. Therefore, you need to enforce even more features via "with" clause just like:

      - name: Install Nix
        uses: DeterminateSystems/nix-installer-action@main
        with:
          extra-conf: |
            experimental-features = nix-command flakes pipe-operators
I think I answered to this question, but still, the solution is that... Whenever determinate nix installs nix package manager, determinate enables only nix-command & flake features, which leaves pipe-operates disabled. Therefore, you need to enforce even more features via "with" clause just like: ```yaml - name: Install Nix uses: DeterminateSystems/nix-installer-action@main with: extra-conf: | experimental-features = nix-command flakes pipe-operators ```
Author
Owner

thanks

thanks
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
xinux/modules#11
No description provided.