aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-09-23 07:49:25 +0530
committersinanmohd <sinan@sinanmohd.com>2024-09-23 07:49:25 +0530
commit8f8d25c6fe219233dda60de266ef837e79bde67a (patch)
tree53acc0af149cdb6528dbbaa66a00ec183938e388 /bin
parenta77616c52c3b1720355477a14055e681235d34b7 (diff)
bin/nixpkgs_drv_pname: don't merge pnames
Diffstat (limited to 'bin')
-rwxr-xr-xbin/nixpkgs_drv_pname.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/nixpkgs_drv_pname.py b/bin/nixpkgs_drv_pname.py
index 24a8d16..52852cf 100755
--- a/bin/nixpkgs_drv_pname.py
+++ b/bin/nixpkgs_drv_pname.py
@@ -15,10 +15,11 @@ from typing import Set
class drv:
drv: str
pname: str
- input_drv_pnames: Set[str] = set()
+ input_drv_pnames: Set[str]
cursor: sqlite3.Cursor
def __init__(self, drv_string: str, cursor: sqlite3.Cursor) -> None:
+ self.input_drv_pnames = set()
self.cursor = cursor
j = json.loads(drv_string)