Fixed version in copySysConf module.

This commit is contained in:
Kevin Baensch 2019-04-18 08:38:25 +02:00
parent 82028fd0e1
commit db56b42c52

View file

@ -7,9 +7,7 @@ let
copySysConf = pkgs.stdenv.mkDerivation rec { copySysConf = pkgs.stdenv.mkDerivation rec {
srcPath = ../.; srcPath = ../.;
name = "NixOS_Configuration-${version}"; name = "NixOS_Configuration-${version}";
version = "0.1"; version = commitIdFromGitRepo (srcPath + "/.git");
# this does not work yet for some reason
# version = commitIdFromGitRepo "${srcPath}/.git";
src = cleanSource srcPath; src = cleanSource srcPath;