mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-11 10:55:31 +03:00
Move to use niv based nixpkgs channel
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
9ce74ed3dd
commit
41de4d8dca
10
default.nix
10
default.nix
@ -1,15 +1,9 @@
|
|||||||
{ }:
|
{ }:
|
||||||
|
|
||||||
let
|
let
|
||||||
nixpkgsUnstableRef = "47b36ad103aeff17f9be6fb7b4847d63d53f227a";
|
sources = import nix/sources.nix { };
|
||||||
nixpkgsUnstableSha = "109shladi2pj27mmna2g53m59m110pbczhnskrn3knbgpdmd78xz";
|
pkgs = import sources.nixpkgs { };
|
||||||
nixpkgsUnstableUrl = "https://github.com/nixos/nixpkgs/archive/${nixpkgsUnstableRef}.tar.gz";
|
|
||||||
nixpkgsUnstableTar = builtins.fetchTarball {
|
|
||||||
url = nixpkgsUnstableUrl;
|
|
||||||
sha256 = nixpkgsUnstableSha;
|
|
||||||
};
|
|
||||||
|
|
||||||
pkgs = import "${nixpkgsUnstableTar}" {};
|
|
||||||
rustPlatform = pkgs.rustPlatform;
|
rustPlatform = pkgs.rustPlatform;
|
||||||
llvmPkgs = pkgs.llvmPackages_12;
|
llvmPkgs = pkgs.llvmPackages_12;
|
||||||
in
|
in
|
||||||
|
Loading…
Reference in New Issue
Block a user