Skip to content

postgrest project stack build error GHC: ld-linux-x86-64.so.2: No such file or directory #21

Closed
@clojurians-org

Description

@clojurians-org

this is my procedure for build stack project: postgrest, but it failed finally:
BTW, what's the best way to build stackage project?

export NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs/archive/88ae8f7d55efa457c95187011eb410d097108445.tar.gz

$(nix-build --no-out-link -A stack2nix-script) ~/my-repo/postgrest

[larluo@nixos-larluo:~/my-repo/static-haskell-nix/static-stack2nix-builder]$ $(nix-build --no-out-link -A static-build-script)
+ /nix/store/ilf1nd7xvfska20pc7x8pslr7mw7lm2v-nix-2.0.4/bin/nix-build --no-out-link -A static_package
error: attribute 'myproject' missing, at /home/larluo/my-repo/static-haskell-nix/static-stack2nix-builder/default.nix:64:20
(use '--show-trace' to show detailed location information)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions