Revert "Fix mkTf2Config derivation names ending with a dash -"

This reverts commit 61c63737af.

Fixes JumpAcademy maps failing to build.
This commit is contained in:
2025-10-26 02:26:18 -06:00
parent c32ffd6101
commit 98673e8d34
4 changed files with 3 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
{ stdenv, lib }:
{ pname
, version ? null
, version ? ""
, custom ? []
, cfg ? []
, maps ? []
@@ -47,7 +47,6 @@ let
"env"
];
in stdenv.mkDerivation ({
inherit name;
inherit pname version;
# Adapted from stdenv's _defaultUnpack().
unpackCmd = ''

View File

@@ -5,7 +5,7 @@
pname = "deerhud";
custom = [
(fetchFromGitHub {
name = "deerhud-src";
name = "deerhud";
owner = "DeerUwU";
repo = "deerhud-tf2";
rev = "78a24effbc66bc78b4bb557228eaa0195db3270c";

View File

@@ -5,7 +5,7 @@ builtins.mapAttrs
pname = name;
custom = [
(fetchFromGitHub (builtins.removeAttrs e.src ["__type"] // {
name = "${name}-src";
inherit name;
}))
];
meta = {

View File

@@ -6,7 +6,6 @@ builtins.mapAttrs
env.description = e.description;
maps = [
(fetchurl {
name = "${name}-src";
inherit (e.src) url hash;
})
];