Skip to content

Instantly share code, notes, and snippets.

@anoother
Created November 11, 2017 23:27
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 anoother/2822efc9000bfdc7677036a0ee2fa56e to your computer and use it in GitHub Desktop.
Save anoother/2822efc9000bfdc7677036a0ee2fa56e to your computer and use it in GitHub Desktop.
nixpkgs.config = {
# Git cryptsetup for to get integritysetup
packageOverrides = pkgs: {
cryptsetup = pkgs.cryptsetup.overrideAttrs (oldAttrs: rec {
src = pkgs.fetchgit {
url = "https://gitlab.com/cryptsetup/cryptsetup.git";
branchName = "master";
};
nativeBuildInputs = with pkgs; [ autoreconfHook pkgconfig ];
buildInputs = with pkgs; oldAttrs.buildInputs ++ [ libgcrypt json_c ];
});
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment