Update flake.lock

This commit is contained in:
Eelco Dolstra 2020-02-03 18:59:29 +01:00
parent 0a4e911cf4
commit fa467de090
2 changed files with 22 additions and 11 deletions

View file

@ -1,11 +1,23 @@
{ {
"inputs": { "inputs": {
"nixpkgs": { "nixpkgs": {
"inputs": {}, "info": {
"narHash": "sha256-V4jz8Hbt+mZkXhH+3KmUQcRGETOFd8mVPhgQlS4Lu5E=", "lastModified": 1580555706,
"originalUrl": "flake:nixpkgs/release-19.09", "narHash": "sha256-ly5Gxl9yZgW2w1F3aDU5bvg34Ct+juUaOg8vue+Mkbo="
"url": "github:edolstra/nixpkgs/dd45a16733f4469a0dded6ad0bf9a662ea39bdea" },
} "inputs": {},
}, "locked": {
"version": 3 "owner": "edolstra",
"repo": "nixpkgs",
"rev": "43e283790fbe330b723ac44b584824cf6d85c1ee",
"type": "github"
},
"original": {
"id": "nixpkgs",
"ref": "release-19.09",
"type": "indirect"
}
}
},
"version": 4
} }

View file

@ -213,8 +213,7 @@
name = "nix-tarball"; name = "nix-tarball";
version = builtins.readFile ./.version; version = builtins.readFile ./.version;
versionSuffix = if officialRelease then "" else versionSuffix = if officialRelease then "" else
"pre${builtins.substring 0 8 self.lastModified}" + "pre${builtins.substring 0 8 self.lastModified}_${self.shortRev or "dirty"}";
(if self ? shortRev then "_${self.shortRev}" else "");
src = self; src = self;
inherit officialRelease; inherit officialRelease;