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

Build failure: aws-sam-cli v1.120 #337137

Closed
ElrohirGT opened this issue Aug 25, 2024 · 4 comments
Closed

Build failure: aws-sam-cli v1.120 #337137

ElrohirGT opened this issue Aug 25, 2024 · 4 comments
Labels
0.kind: build failure A package fails to build

Comments

@ElrohirGT
Copy link
Contributor

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix develop --impure 'github:SanitasUVG/Sanitas?ref=fix/patient-general-data-refactoring'

Build log

Gist Log

image

Additional context

I just tried to update using nix flake update and it fails to enter the devShell now.

Notify maintainers

@lo1tuma
@anthonyroussel

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
- system: `"aarch64-darwin"`
 - host os: `Darwin 23.5.0, macOS 14.5`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.18.2`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

Add a 👍 reaction to issues you find important.

@ElrohirGT ElrohirGT added the 0.kind: build failure A package fails to build label Aug 25, 2024
@axelknock
Copy link

With #303877 build now succeeds.

@ElrohirGT
Copy link
Contributor Author

Hmm.... I still have the same error, I created a branch just so that you can reproduce it yourself!

nix develop --impure "github:SanitasUVG/Sanitas/test/samcli-build-fail"

It's really weird since it works when I try to run:

nix-shell -p aws-sam-cli

And the version that I install above is 1.120:
image

@gautaz
Copy link
Contributor

gautaz commented Sep 6, 2024

@ElrohirGT, I had the issue on my flake using nixpkgs master and a nix flake update resolved the issue yesterday.

Looking at your flake.lock:

    "nixpkgs": {
      "locked": {
        "lastModified": 1692808169,
        "narHash": "sha256-x9Opq06rIiwdwGeK2Ykj69dNc2IvUH1fY55Wm7atwrE=",
        "owner": "NixOS",
        "repo": "nixpkgs",
        "rev": "9201b5ff357e781bf014d0330d18555695df7ba8",
        "type": "github"
      },
      "original": {
        "owner": "NixOS",
        "ref": "nixpkgs-unstable",
        "repo": "nixpkgs",
        "type": "github"
      }
    },

You are using nixpkgs-unstable and not master.
As the fix probably got merged on nixpkgs-unstable only a few hours ago, could you retry?

@ElrohirGT
Copy link
Contributor Author

You're right! It works now, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
None yet
Development

No branches or pull requests

3 participants