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.
xplr/flake.nix

27 lines
695 B
Nix

2 years ago
{
description = "xplr - A hackable, minimal, fast TUI file explorer";
inputs = {
2 years ago
flake-utils.url = "github:numtide/flake-utils";
2 years ago
nixpkgs.url = "github:nixos/nixpkgs";
};
2 years ago
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;
};
};
2 years ago
};
2 years ago
defaultPackage = packages.xplr;
}
);
2 years ago
}