# Building GNU hello with custom version

**URL:** https://discourse.nixos.org/t/building-gnu-hello-with-custom-version/8432
**Category:** Help
**Created:** [August 3, 2020, 12:35pm UTC](https://discourse.nixos.org/t/building-gnu-hello-with-custom-version/8432 "2020-08-03T12:35:54Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![danieldk](https://discourse.nixos.org/user_avatar/discourse.nixos.org/danieldk/32/31405_2.png) [@danieldk](https://discourse.nixos.org/u/danieldk)
#### Post date: [August 3, 2020, 1:40pm UTC](https://discourse.nixos.org/t/building-gnu-hello-with-custom-version/8432/3 "2020-08-03T13:40:19Z")

</div>

> [@jheidbrink](#):
>
> Maybe the `src` attribute is not automatically recalculated when `version` changes? Can I somehow enforce that?

That’s (unfortunately) correct. You also have to override the `src` attribute to ensure an older version is fetched.

See [Avoid rec expresions in nixpkgs? - #4 by jtojnar](https://discourse.nixos.org/t/avoid-rec-expresions-in-nixpkgs/8293/4) onwards for a recent technical discussion.

---

_[View the full topic](https://discourse.nixos.org/t/building-gnu-hello-with-custom-version/8432)._
