mirror of https://github.com/sayanarijit/xplr
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
695 B
Nix
27 lines
695 B
Nix
{
|
|
description = "xplr - A hackable, minimal, fast TUI file explorer";
|
|
|
|
inputs = {
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
nixpkgs.url = "github:nixos/nixpkgs";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, flake-utils }:
|
|
flake-utils.lib.eachDefaultSystem
|
|
(system:
|
|
let pkgs = nixpkgs.legacyPackages.${system}; in
|
|
rec {
|
|
packages = flake-utils.lib.flattenTree {
|
|
xplr = pkgs.rustPlatform.buildRustPackage rec {
|
|
name = "xplr";
|
|
src = ./.;
|
|
cargoLock = {
|
|
lockFile = ./Cargo.lock;
|
|
};
|
|
};
|
|
};
|
|
defaultPackage = packages.xplr;
|
|
}
|
|
);
|
|
}
|