https://github.com/hostwithquantum/nur
nix user repository for runway cli :rocket:
https://github.com/hostwithquantum/nur
nix-user-repository planetary-quantum runway
Last synced: 8 months ago
JSON representation
nix user repository for runway cli :rocket:
- Host: GitHub
- URL: https://github.com/hostwithquantum/nur
- Owner: hostwithquantum
- Created: 2023-12-12T18:30:44.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-03T15:33:37.000Z (9 months ago)
- Last Synced: 2025-02-03T16:33:01.869Z (9 months ago)
- Topics: nix-user-repository, planetary-quantum, runway
- Language: Nix
- Homepage: https://runway.planetary-quantum.com
- Size: 40 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hostwithquantum/nur

[](https://hostwithquantum.cachix.org)
A nix user repository to install the runway CLI.
## Usage
### Run with nix shell
Install the Flake in a nix shell using the `nix shell` command.
```bash
nix shell --impure github:hostwithquantum/nur/11a8e8f0ac6de019565da086820c4b8709532516#runway
```where
- `/11a8e8f0ac6de019565da086820c4b8709532516` indicates a specific commit that you want to reference (which you should be free to drop if you just want to install the mainline version)
- `--impure` allows the use of unfree packages by setting the env var `NIXPKGS_ALLOW_UNFREE=1` (note that env vars are only visible to nix on _impure_ runs)### Run from Flake with `nix develop`
In case you want to install runway as part of an existing Flake, for example in your dev env that is managed by a flake, specify the runway flake as an input and list it as a `buildInput` in your devShell.
```nix
{
description = "A very basic flake";inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";flake-utils.url = "github:numtide/flake-utils";
runway = {
url = "github:hostwithquantum/nur/11a8e8f0ac6de019565da086820c4b8709532516";
inputs.nixpkgs.follows = "nixpkgs";
};
};outputs = { self, nixpkgs, flake-utils, runway }: flake-utils.lib.eachDefaultSystem (system:
let pkgs = import nixpkgs { inherit system; }; in
{packages.hello = nixpkgs.legacyPackages.${system}.hello;
defaultPackage = self.packages.${system}.hello;
devShell = with pkgs; mkShell {
buildInputs = [ runway.legacyPackages.${system}.runway ];
};
});
}
```Spin up the `nix develop` shell using the following command:
```bash
NIXPKGS_ALLOW_UNFREE=1 nix develop --impure
```