Skip to content

Instantly share code, notes, and snippets.

@Xe

Xe/cabytcini.nix Secret

Created October 28, 2020 12:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Xe/73e490868ae7aef83a6b31991153a574 to your computer and use it in GitHub Desktop.
Save Xe/73e490868ae7aef83a6b31991153a574 to your computer and use it in GitHub Desktop.
{ pkgs ? import <nixpkgs> { } }:
with pkgs;
rustPlatform.buildRustPackage rec {
name = "cabytcini-${version}";
version = "0.2.2";
src = fetchgit {
url = "https://tulpa.dev/cadey/cabytcini";
rev = "c78fb3dcb50120d34637dd66d08944d1dffa41e4";
sha256 = "1b2m7y9al62ihpyjg1jjplwbkgw74189rkvp0llr5pd9rwg9vpfj";
};
buildInputs = [ pkg-config xorg.libX11 openssl ];
legacyCargoFetcher = true;
cargoSha256 = "0r1bnv14b6qfprqa112bjz7bzh9qnjdhqjwllw8w42s225h4h9rn";
meta = with lib; {
description = "lo mi cabytcini cankyuijde";
homepage = "https://tulpa.dev/cadey/cabytcini";
license = licenses.mit;
maintainers = [ maintainers.xe ];
};
}
error: failed to run custom build command for `x11 v2.18.2`
Caused by:
process didn't exit successfully: `/build/cabytcini-c78fb3d/target/release/build/x11-d28dbcd0b9b8193a/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Command { command: "\"pkg-config\" \"--libs\" \"--cflags\" \"x11\" \"x11 >= 1.4.99.1\"", cause: Os { code: 2, kind: NotFound, message: "No such file or directory" } }', /build/cabytcini-0.2.2-vendor.tar.gz/x11/build.rs:36:5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment