{"id":28955818,"url":"https://github.com/determinatesystems/hash-mismatch-demo","last_synced_at":"2025-07-27T14:08:05.107Z","repository":{"id":297503269,"uuid":"995588944","full_name":"DeterminateSystems/hash-mismatch-demo","owner":"DeterminateSystems","description":"A demonstration of automatic hash mismatch fixes","archived":false,"fork":false,"pushed_at":"2025-06-03T18:03:47.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-22T01:59:32.155Z","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/DeterminateSystems.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,"zenodo":null}},"created_at":"2025-06-03T18:03:40.000Z","updated_at":"2025-06-03T18:03:49.000Z","dependencies_parsed_at":"2025-06-05T20:46:35.557Z","dependency_job_id":"50ccfd59-7fd9-4354-bf5d-d3c3d7628943","html_url":"https://github.com/DeterminateSystems/hash-mismatch-demo","commit_stats":null,"previous_names":["determinatesystems/hash-mismatch-demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DeterminateSystems/hash-mismatch-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeterminateSystems%2Fhash-mismatch-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeterminateSystems%2Fhash-mismatch-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeterminateSystems%2Fhash-mismatch-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeterminateSystems%2Fhash-mismatch-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DeterminateSystems","download_url":"https://codeload.github.com/DeterminateSystems/hash-mismatch-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeterminateSystems%2Fhash-mismatch-demo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267368932,"owners_count":24076093,"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","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-06-23T20:10:09.859Z","updated_at":"2025-07-27T14:08:05.083Z","avatar_url":"https://github.com/DeterminateSystems.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Determinate Nix hash mismatch demo\n\nFirst, try to build the package:\n\n```shell\nnix build\n```\n\nUh-oh! There's a hash mismatch.\n\nNow let's [install Determinate Nix][install].\nBecause with Determinate Nix, we can fix that automatically:\n\n```shell\ndeterminate-nixd fix hashes --auto-apply --since \"1 minute\"\n```\n\nThis updates our [`flake.nix`](flake.nix) in place with the correct hash.\n\nNow let's try building again:\n\n```shell\nnix build\n```\n\nAnd we're done!\n\nLet's run our web server:\n\n```shell\n./result/bin/hash-mismatch-demo\n```\n\nIn another terminal:\n\n```shell\ncurl http://localhost:8080/ping\n```\n\nAnd we should see this as the output:\n\n```json\n{\n  \"message\": \"pong\"\n}\n```\n\n[install]: https://docs.determinate.systems\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeterminatesystems%2Fhash-mismatch-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeterminatesystems%2Fhash-mismatch-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeterminatesystems%2Fhash-mismatch-demo/lists"}