Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Commit

Permalink
Merge pull request #49 from kamilchm/unstable-name
Browse files Browse the repository at this point in the history
FIX #45 Use unstable in names - nixpkgs conventions
  • Loading branch information
kamilchm authored Dec 17, 2016
2 parents 879641e + f267980 commit 17b1f83
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

- #35 Add go2nix version info in generated nix files

### Changed

- #45 Use unstable in names - nixpkgs conventions

### Fixed

- #37 Use absolute paths for searching in GOPATH
Expand Down
6 changes: 3 additions & 3 deletions assets.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions templates/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:

buildGoPackage rec {
name = "[[ .Pkg.Name ]]-${version}";
version = "[[ .Pkg.UpdateDate.Format "20060102" ]]-${stdenv.lib.strings.substring 0 7 rev}";
name = "[[ .Pkg.Name ]]-unstable-${version}";
version = "[[ .Pkg.UpdateDate.Format "2006-01-02" ]]";
rev = "[[ .Pkg.Revision ]]";

[[ if ne .BuildTags "" ]]
Expand Down

0 comments on commit 17b1f83

Please sign in to comment.