aboutsummaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
authortilpner2020-06-11 12:10:24 +0200
committertilpner2020-06-11 12:10:24 +0200
commit7534fddaf7d7fd1edc4bb6a303c8597bf2033b19 (patch)
treec5900bc37497b29064c0b2a5d0ceda8b68640aea /default.nix
parent3282a2762adc1b67ec97266a3cd6f2e0c00641d8 (diff)
downloadgithub-label-feed-7534fddaf7d7fd1edc4bb6a303c8597bf2033b19.tar.gz
github-label-feed-7534fddaf7d7fd1edc4bb6a303c8597bf2033b19.tar.xz
github-label-feed-7534fddaf7d7fd1edc4bb6a303c8597bf2033b19.zip
Update dependencies and packaging
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix17
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