Add nix flake

pull/531/head
Arijit Basu 2 years ago
parent aea17b415b
commit bbb1026ff8
No known key found for this signature in database
GPG Key ID: 0F8EF5258DC38077

@ -0,0 +1,26 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1668199800,
"narHash": "sha256-qnEeVo88H8an0Wds9kBSxWlGCa0vY5EgEswnQUZnXmc=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "98bb201bbfba99003e6cd5f85c13c46050fb8ee8",
"type": "github"
},
"original": {
"owner": "nixos",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

@ -0,0 +1,21 @@
{
description = "xplr - A hackable, minimal, fast TUI file explorer";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";
};
outputs = { self, nixpkgs }:
{
packages.x86_64-linux.default =
with import nixpkgs { system = "x86_64-linux"; };
rustPlatform.buildRustPackage rec {
name = "xplr";
src = ./.;
cargoLock = {
lockFile = ./Cargo.lock;
};
};
};
}
Loading…
Cancel
Save