{"id":42303486,"url":"https://github.com/rfaulhaber/sfdx-nix","last_synced_at":"2026-01-27T10:42:07.018Z","repository":{"id":43768723,"uuid":"324216710","full_name":"rfaulhaber/sfdx-nix","owner":"rfaulhaber","description":"Nix derivation for the Salesforce CLI","archived":false,"fork":false,"pushed_at":"2026-01-11T18:24:14.000Z","size":375,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-11T21:52:09.835Z","etag":null,"topics":["nix","nix-derivation","nixos","salesforce","sfdx","sfdx-cli"],"latest_commit_sha":null,"homepage":"","language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rfaulhaber.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-12-24T18:40:02.000Z","updated_at":"2026-01-11T18:24:13.000Z","dependencies_parsed_at":"2025-05-12T17:32:51.346Z","dependency_job_id":"3e332814-849f-4ca8-b79c-c740b1dc41a6","html_url":"https://github.com/rfaulhaber/sfdx-nix","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rfaulhaber/sfdx-nix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rfaulhaber%2Fsfdx-nix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rfaulhaber%2Fsfdx-nix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rfaulhaber%2Fsfdx-nix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rfaulhaber%2Fsfdx-nix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rfaulhaber","download_url":"https://codeload.github.com/rfaulhaber/sfdx-nix/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rfaulhaber%2Fsfdx-nix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28812351,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T07:41:26.337Z","status":"ssl_error","status_checked_at":"2026-01-27T07:41:08.776Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["nix","nix-derivation","nixos","salesforce","sfdx","sfdx-cli"],"created_at":"2026-01-27T10:42:06.263Z","updated_at":"2026-01-27T10:42:07.008Z","avatar_url":"https://github.com/rfaulhaber.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sfdx-nix\n\n[![built with garnix](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fgarnix.io%2Fapi%2Fbadges%2Frfaulhaber%2Fsfdx-nix%3Fbranch%3Dmain)](https://garnix.io/repo/rfaulhaber/sfdx-nix)\n\nSimple Nix flake that provides the [Salesforce CLI](https://developer.salesforce.com/tools/salesforcecli) for Salesforce. You can use it like any other flake.\n\nThis project is in no way affiliated with Salesforce.\n\nThis project's license only covers the code in this repository, and is licensed\nunder the same license that the Salesforce CLI itself is.\n\n## Usage\n\nThis flake can be used like any other flake. For example, within the CLI:\n\n```sh\nnix run github:rfaulhaber/sfdx-nix\n```\n\nis the same as just running `sf`. Similarly,\n\n``` sh\nnix shell github:rfaulhaber/sfdx-nix\n```\n\nwill add the `sf` command to your environment.\n\nYou can add it to a NixOS configuration like any other flake as well. Something like this should work:\n\n```nix\n{\n  inputs = {\n    nixpkgs = \"github:NixOS/nixpkgs\";\n    sfdx-nix = \"github:rfaulhaber/sfdx-nix\";\n  };\n  outputs = {\n    nixpkgs,\n    sfdx-nix,\n    ...\n  }: {\n    nixosConfigurations.your-machine = nixpkgs.lib.nixosSystem {\n      # see flake.nix for supported systems\n      system = \"x86_64-linux\";\n      modules = [\n        # ...\n        {...}: {\n          # or added to your user packages\n          environment.systemPackages = [\n            sfdx-nix.packages.\"x86_64-linux\".default\n          ];\n        }\n      ];\n    };\n  };\n}\n```\n\nPreviously this flake was built to support `sfdx` and `sf` executable, however now that Salesforce has retired `sfdx` the package/app default exported by this flake is `sf`.\n\n## Build Cache\n\nThis project uses [Garnix](https://garnix.io/) to build the project. Garnix provides a Nix cache for publicly hosted repositories. If you aren't already, you may use the cached build for this project by using [Garnix's cache](https://garnix.io/docs/caching). If you would rather not add Garnix's cache or a more specific cache, I also maintain a build cache with Cachix [here](https://app.cachix.org/cache/sfdx-nix).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frfaulhaber%2Fsfdx-nix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frfaulhaber%2Fsfdx-nix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frfaulhaber%2Fsfdx-nix/lists"}