{"id":18107738,"url":"https://github.com/zetavg/nix-hello-world","last_synced_at":"2025-10-07T20:22:16.303Z","repository":{"id":67894722,"uuid":"173816389","full_name":"zetavg/nix-hello-world","owner":"zetavg","description":"Hello world program to experience on Nix derivation/packages.","archived":false,"fork":false,"pushed_at":"2019-03-06T04:57:37.000Z","size":9,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-12T03:47:18.496Z","etag":null,"topics":["hello-world","helloworld","helloworld-programs","nix","nix-expressions","nixpkgs"],"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/zetavg.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":"2019-03-04T20:29:00.000Z","updated_at":"2024-11-25T09:39:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"054ca73d-5b8d-43c8-9da4-d149b22fcb96","html_url":"https://github.com/zetavg/nix-hello-world","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zetavg/nix-hello-world","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zetavg%2Fnix-hello-world","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zetavg%2Fnix-hello-world/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zetavg%2Fnix-hello-world/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zetavg%2Fnix-hello-world/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zetavg","download_url":"https://codeload.github.com/zetavg/nix-hello-world/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zetavg%2Fnix-hello-world/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278838830,"owners_count":26054805,"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-10-07T02:00:06.786Z","response_time":59,"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":["hello-world","helloworld","helloworld-programs","nix","nix-expressions","nixpkgs"],"created_at":"2024-10-31T23:13:25.670Z","updated_at":"2025-10-07T20:22:16.269Z","avatar_url":"https://github.com/zetavg.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nix Hello World\n\nThis is just a simple program to experience on Nix derivation/packages.\n\n## Build or Install in Nix Environment\n\n### Build\n\nTo build this program by Nix, clone or download this project and run the following command at the root directory of the project:\n\n```bash\nnix-build\n```\n\nor the long version by specifying the file: `nix-build default.nix`, or even doing instantiate and realise step-by-step: `nix-store -r $(nix-instantiate default.nix)`.\n\n### Install\n\nTo install this program in Nix Environment, run the following command at the root directory of the project:\n\n```bash\nnix-env -i -f default.nix\n```\n\nor the long version: `nix-env --install --file default.nix`.\n\n### Inspect\n\nYou can get the out path by running `nix-store -q --outputs $(nix-instantiate default.nix)` or `nix eval '(\"${import ./default.nix}\")'` before installation, or `nix-env -q --out-path --no-name hello` after installing.\n\nTo see the contents of the .drv file, run: `nix show-derivation $(nix-instantiate default.nix)` or `nix show-derivation $(nix-store -q --deriver $(nix eval '(\"${import ./default.nix}\")' | cut -d '\"' -f 1))`.\n\n## Build Manually\n\nYou can build it manually with `gcc` by running:\n\n```bash\ngcc src/hello.c -o hello\n```\n\n## References\n\n- [Nix Pills](https://nixos.org/nixos/nix-pills/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzetavg%2Fnix-hello-world","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzetavg%2Fnix-hello-world","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzetavg%2Fnix-hello-world/lists"}