use pinned nixpkgs for docker build

This commit is contained in:
Cadey Ratio 2020-02-13 02:56:08 +00:00
parent 4caae46230
commit 22b174a9d4
1 changed files with 1 additions and 3 deletions

View File

@ -1,10 +1,8 @@
{ system ? builtins.currentSystem }:
let
pkgs = import <nixpkgs> { inherit system; };
pkgs = import (import ./nix/sources.nix).nixpkgs { inherit system; };
callPackage = pkgs.lib.callPackageWith pkgs;
site = callPackage ./site.nix { };
dockerImage = pkg: