diff --git a/nix/pkgs.nix b/nix/pkgs.nix index 17db8c82fe..a8e3292474 100644 --- a/nix/pkgs.nix +++ b/nix/pkgs.nix @@ -3,20 +3,13 @@ { config ? { } }: let - inherit (import { }) fetchFromGitHub; - # For testing local version of nixpkgs #nixpkgsSrc = (import { }).lib.cleanSource "/home/jakubgs/work/nixpkgs"; # We follow the master branch of official nixpkgs. - nixpkgsSrc = fetchFromGitHub { - name = "nixpkgs-source"; - owner = "NixOS"; - repo = "nixpkgs"; - rev = "e7603eba51f2c7820c0a182c6bbb351181caa8e7"; - sha256 = "sha256-XJZ/o17eOd2sEsGif+/MQBnfa2DKmndWgJyc7CWajFc="; - # To get the compressed Nix sha256, use: - # nix-prefetch-url --unpack https://github.com/${ORG}/nixpkgs/archive/${REV}.tar.gz + nixpkgsSrc = builtins.fetchTarball { + url = "https://github.com/NixOS/nixpkgs/archive/e7603eba51f2c7820c0a182c6bbb351181caa8e7.tar.gz"; + sha256 = "sha256:0mwck8jyr74wh1b7g6nac1mxy6a0rkppz8n12andsffybsipz5jw"; }; # Status specific configuration defaults