{"id":13611474,"url":"https://github.com/nixie-dev/nixie","last_synced_at":"2025-04-07T08:17:23.726Z","repository":{"id":122955500,"uuid":"598026679","full_name":"nixie-dev/nixie","owner":"nixie-dev","description":"Put Nix in everything!","archived":false,"fork":false,"pushed_at":"2025-03-11T12:48:59.000Z","size":55773,"stargazers_count":105,"open_issues_count":8,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-04T20:47:12.437Z","etag":null,"topics":["build-tool","developer-tools","nix","nixos","nixpkgs","offline-tool","static","wrapper"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nixie-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-02-06T08:35:59.000Z","updated_at":"2025-03-22T04:27:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"87feed11-1bed-4040-b5bd-9f41e4b78a75","html_url":"https://github.com/nixie-dev/nixie","commit_stats":{"total_commits":138,"total_committers":2,"mean_commits":69.0,"dds":0.007246376811594235,"last_synced_commit":"158c83b89a324df8470e2c450ded2c31c4bb2790"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nixie-dev%2Fnixie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nixie-dev%2Fnixie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nixie-dev%2Fnixie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nixie-dev%2Fnixie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nixie-dev","download_url":"https://codeload.github.com/nixie-dev/nixie/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247615383,"owners_count":20967184,"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":["build-tool","developer-tools","nix","nixos","nixpkgs","offline-tool","static","wrapper"],"created_at":"2024-08-01T19:01:55.760Z","updated_at":"2025-04-07T08:17:23.707Z","avatar_url":"https://github.com/nixie-dev.png","language":"Python","readme":"![Nixie](https://raw.githubusercontent.com/nixie-dev/nixie/master/.github/logo.svg#gh-light-mode-only)\n![Nixie](https://raw.githubusercontent.com/nixie-dev/nixie/master/.github/logo-dark.svg#gh-dark-mode-only)\n\n\u003e [!WARNING]\n\u003e\n\u003e Nixie is currently alpha software, provided as-is with no guarantee. The builder and generated scripts are subject to change, and the current feature set is not to be considered final.\n\n---\n\nNixie is a lightweight solution to ship the [Nix package manager](https://nixos.org) together with a project repository, regardless of host architecture. It leverages a [brand new feature](https://github.com/NixOS/nix/blob/master/doc/manual/src/release-notes/rl-2.10.md) starting with Nix 2.10, which allows the default Nix binary to host a sandboxed Nix store with no privileges.\n\nOn macOS, non-root Nix store support is made possible by [fakedir](https://github.com/nixie-dev/fakedir), which is shipped with the script as a Universal library.\n\n## How do I add Nixie to my project?\n\nTo \"install\" Nixie onto your project's Git repository, you need to be running the Nix package manager, preferably with flakes enabled.\n\n\u003cdetails\u003e\n\n\u003csummary\u003e\n\n### You have flakes enabled\n\u003c/summary\u003e\n\nYou only need to run one command. Make sure your current directory is this of the project you wish to populate.\n\n```sh\nnix run github:nixie-dev/nixie\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\n\u003csummary\u003e\n\n### You don't use flakes\n\u003c/summary\u003e\n\nIn this case, you need to retrieve Nixie manually, either by cloning this repository or adding it as a Nix channel:\n\n#### As a Nix channel\n\n```sh\nnix-channel --add https://github.com/nixie-dev/nixie/archive/master.tar.gz nixie\nnix-channel --update\nnix-env -iA nixie\n```\n\n#### By cloning this repository\n\n```sh\ngit clone https://github.com/nixie-dev/nixie\nnix-shell /path/to/cloned/nixie/shell.nix\n```\n\nWhile it is possible to build Nixie directly from this repository, the resulting binary still requires Nix to be available on setup.\n\nOnce you have acquired Nixie, simply run `nixie` to automatically configure the repository you're in.\n\n\u003c/details\u003e\n\n## What do the generated files mean?\n\nRunning the `nix` script at the root of your repository will automatically determine if you have Nix installed or not. If Nix is installed, it will just redirect the call to your system-wide Nix. It's when it is _not installed_ that the magic happens.\n\nNixie will automatically download a prebuilt static `nix` binary from this repository's CI jobs into your user's cache directory:\n\nOn Linux, `~/.cache/nix-static`\n\nOn macOS, `~/Library/Caches/nix-static`\n\nNixie can also build Nix and its dependencies locally from source code, as a fallback on unsupported platforms.\n\nSubsequent calls to the `nix` script will be redirected to that local binary. The name of the repository script determines which Nix command to run: `nix`, `nix-shell`, `nix-env` (unsupported), etc.\n\n---\n\nTell everyone your project is [![built with Nix](https://builtwithnix.org/badge.svg)](https://builtwithnix.org)\n","funding_links":[],"categories":["Python","Distro"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnixie-dev%2Fnixie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnixie-dev%2Fnixie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnixie-dev%2Fnixie/lists"}