{"id":16321195,"url":"https://github.com/beeb/rust-nix-static","last_synced_at":"2025-07-07T21:07:00.167Z","repository":{"id":203090207,"uuid":"708792013","full_name":"beeb/rust-nix-static","owner":"beeb","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-24T05:30:58.000Z","size":8,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-14T08:48:48.133Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/beeb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-23T12:02:13.000Z","updated_at":"2024-06-17T16:14:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"9e9eba1c-4e61-41df-b3f8-07f6990f965c","html_url":"https://github.com/beeb/rust-nix-static","commit_stats":null,"previous_names":["beeb/rust-nix-static"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/beeb/rust-nix-static","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeb%2Frust-nix-static","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeb%2Frust-nix-static/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeb%2Frust-nix-static/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeb%2Frust-nix-static/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beeb","download_url":"https://codeload.github.com/beeb/rust-nix-static/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeb%2Frust-nix-static/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264147157,"owners_count":23564217,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T22:46:58.219Z","updated_at":"2025-07-07T21:07:00.103Z","avatar_url":"https://github.com/beeb.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Problem when statically linking glibc in Rust\n\nRun `nix build` and get the following error:\n\n```\nerror: builder for '/nix/store/vn3asbg6p1m82v74zwria69vm2l0gzg9-test_static-0.1.0.drv' failed with exit code 101;\n       last 10 log lines:\n       \u003e           /nix/store/74y3751gsixaz9797ib0hp7c658sp1y5-binutils-2.40/bin/ld: cannot find -lrt: No such file or directory\n       \u003e           /nix/store/74y3751gsixaz9797ib0hp7c658sp1y5-binutils-2.40/bin/ld: cannot find -lpthread: No such file or directory\n       \u003e           /nix/store/74y3751gsixaz9797ib0hp7c658sp1y5-binutils-2.40/bin/ld: cannot find -lm: No such file or directory\n       \u003e           /nix/store/74y3751gsixaz9797ib0hp7c658sp1y5-binutils-2.40/bin/ld: cannot find -ldl: No such file or directory\n       \u003e           /nix/store/74y3751gsixaz9797ib0hp7c658sp1y5-binutils-2.40/bin/ld: cannot find -lc: No such file or directory\n       \u003e           /nix/store/74y3751gsixaz9797ib0hp7c658sp1y5-binutils-2.40/bin/ld: cannot find -lc: No such file or directory\n       \u003e           collect2: error: ld returned 1 exit status\n       \u003e\n       \u003e\n       \u003e error: could not compile `rust-nix-static` (bin \"rust-nix-static\") due to previous error\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeeb%2Frust-nix-static","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeeb%2Frust-nix-static","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeeb%2Frust-nix-static/lists"}