import nixpkgs from niv

This commit is contained in:
Brian Hicks 2019-10-28 09:43:14 -05:00
parent 4e126b8fe8
commit e866e9fe17

View File

@ -1,10 +1,8 @@
with import (builtins.fetchTarball rec {
# grab a hash from here: https://nixos.org/channels/
name = "nixpkgs-darwin-18.09pre153253.7e88992a8c7";
url = "https://github.com/nixos/nixpkgs/archive/7e88992a8c7b2de0bcb89182d8686b27bd93e46a.tar.gz";
# Hash obtained using `nix-prefetch-url --unpack <url>`
sha256 = "1f6lf4addczi81hchqbzjlhrsmkrj575dmdjdhyl0jkm7ypy2lgk";
}) {};
let
sources = import ./nix/sources.nix;
nixpkgs = import sources.nixpkgs { };
niv = import sources.niv { };
in with nixpkgs;
stdenv.mkDerivation {
name = "noredink-ui";
@ -12,6 +10,7 @@ stdenv.mkDerivation {
# base dependencies
git
gnumake
niv.niv
# node dependencies
nodejs