Skip to content

Attribute 'packageName' missing - beamModules update to fixed point #45

Description

@bfolkens

Recent updates in nixpkgs beamModules transitioned to fixed point (8bdef3ae032ed12b5bbec548e3a65cf020adf457), which seems to be causing new errors (below):

error:
       … while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:37:12:
           36|
           37|   strict = derivationStrict drvAttrs;
             |            ^
           38|

       … while evaluating derivation 'example-0.1.0'
         whose name attribute is located at /nix/store/3x925rhb3gjikmqkyqigjcdfqm1hsn6a-source/pkgs/stdenv/generic/make-derivation.nix:536:13

       … while evaluating attribute 'configurePhase' of derivation 'example-0.1.0'
         at /nix/store/3x925rhb3gjikmqkyqigjcdfqm1hsn6a-source/pkgs/development/beam-modules/mix-release.nix:172:5:
          171|
          172|     configurePhase =
             |     ^
          173|       attrs.configurePhase or ''

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: attribute 'packageName' missing
       at /nix/store/qbx2i8d4y4nzgy2ilaz9xs23hm7mzqkj-source/nix/deps.nix:102:54:
          101|               | xargs grep 'defmodule' \
          102|               | sed 's/defmodule \(.*\) do/config :${old.packageName}, \1, skip_compilation?: true/'
             |                                                      ^
          103|             echo "***********************************************"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions