nixpkgs

My nixpkg collection
git clone https://git.in0rdr.ch/nixpkgs.git
Log | Files | Refs | Pull requests |Archive | README

commit 4a14507985a814c127761a851db9a6bee525b35b
parent 110e57354e86b7458e8c66e4ba89a8ddb604d606
Author: Andreas Gruhler <agruhl@gmx.ch>
Date:   Sun, 17 Aug 2025 17:21:44 +0200

feat(oama): use recursive attribute set

Reuse the version variable:
* https://nix.dev/tutorials/nix-language.html#recursive-attribute-set-rec

Diffstat:
Moama/default.nix | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/oama/default.nix b/oama/default.nix @@ -2,12 +2,12 @@ let pkgs = import <nixpkgs> { }; hpkgs = pkgs.haskellPackages; in - hpkgs.mkDerivation { + hpkgs.mkDerivation rec { pname = "oama"; version = "0.13.3"; src = pkgs.fetchgit { url = "https://github.com/pdobsan/oama.git"; - rev = "refs/tags/0.13.3"; + rev = "refs/tags/${version}"; hash = "sha256-6/Bx8CwBhpjHBVWT5XqrPDVIKAq/hNwo2oildl513UI="; };