Push to remote
This commit is contained in:
parent
b17d487665
commit
519f870dbf
5 changed files with 85 additions and 62 deletions
13
nix/default.nix
Normal file
13
nix/default.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ pkgs ? import <nixpkgs> { } }:
|
||||
|
||||
let
|
||||
manifest = (pkgs.lib.importTOML ../Cargo.toml).package;
|
||||
in
|
||||
pkgs.rustPlatform.buildRustPackage rec {
|
||||
pname = manifest.name;
|
||||
version = manifest.version;
|
||||
cargoLock.lockFile = ../Cargo.lock;
|
||||
src = pkgs.lib.cleanSource ../.;
|
||||
buildInputs = [ pkgs.xz pkgs.unrar ];
|
||||
nativeBuildInputs = [ pkgs.xz pkgs.pkg-config ];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue