Skip to content

Instantly share code, notes, and snippets.

@IreneKnapp
Created May 28, 2021 02:14
Show Gist options
  • Save IreneKnapp/f55a13d3bc3722db61fc76bb2d7a388e to your computer and use it in GitHub Desktop.
Save IreneKnapp/f55a13d3bc3722db61fc76bb2d7a388e to your computer and use it in GitHub Desktop.
How to use crate2nix's output
# Use `nix-build`, not `nix build`, when doing development on this file. It
# does a better job of propagating error messages from the build tools upward.
let pkgs = import <nixpkgs> { };
cargo = pkgs.callPackage ./Cargo.nix { };
in cargo.workspaceMembers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment