diff options
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/default.nix b/default.nix index f45a37f..3e51aad 100644 --- a/default.nix +++ b/default.nix @@ -1,3 +1,16 @@ -{ pkgs ? import <nixpkgs> {} }: +{ }: -(pkgs.callPackage ./Cargo.nix {}).workspaceMembers.github-label-feed.build +let + nixpkgs = fetchTarball { + # 2020-06-11 nixos-unstable, pinned because 20.03 is incompatible with crate2nix master + url = "https://github.com/NixOS/nixpkgs/archive/029a5de08390bb03c3f44230b064fd1850c6658a.tar.gz"; + sha256 = "03fjkzhrs2avcvdabgm7a65rnyjaqbqdnv4q86qyjkkwg64g5m8x"; + }; + + pkgs = import nixpkgs { + config = {}; + overlays = []; + }; + + workspace = pkgs.callPackage ./Cargo.nix {}; +in workspace.workspaceMembers.github-label-feed.build |