mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-23 08:27:11 +03:00
import nixpkgs from niv
This commit is contained in:
parent
4e126b8fe8
commit
e866e9fe17
13
shell.nix
13
shell.nix
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user