about summary refs log tree commit diff
path: root/pkgs/development/embedded
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2023-12-02 18:47:27 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2023-12-20 20:16:39 +0100
commit8056f9250ce8b7f9bdf0ccdc6c7a6808ae8f1be9 (patch)
treef124065087303348bba0e74a48897e2b1ae12485 /pkgs/development/embedded
parent32a6949d54134bdda5ed279c914fbc6f79fdc84d (diff)
treewide: remove redundant SETUPTOOLS_SCM_PRETEND_VERSION usage
The setuptools-scm packages gained a setup hook, that sets it to the
derivation version automatically, so setting it to that manually has
become redundant.

This also affects downstream consumers of setuptools-scm, like hatch-vcs
or flit-scm.
Diffstat (limited to 'pkgs/development/embedded')
-rw-r--r--pkgs/development/embedded/fpga/tinyprog/default.nix4
1 files changed, 0 insertions, 4 deletions
diff --git a/pkgs/development/embedded/fpga/tinyprog/default.nix b/pkgs/development/embedded/fpga/tinyprog/default.nix
index 4872111b811c5..b242d6ebc1b4f 100644
--- a/pkgs/development/embedded/fpga/tinyprog/default.nix
+++ b/pkgs/development/embedded/fpga/tinyprog/default.nix
@@ -30,10 +30,6 @@ with python3Packages; buildPythonApplication rec {
 
   nativeBuildInputs = [ setuptools-scm ];
 
-  preBuild = ''
-    export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
-  '';
-
   meta = with lib; {
     homepage = "https://github.com/tinyfpga/TinyFPGA-Bootloader/tree/master/programmer";
     description = "Programmer for FPGA boards using the TinyFPGA USB Bootloader";