replace "pkgs" arguments with individual packages

This commit is contained in:
rhiannon morris 2025-04-20 09:57:40 +02:00
parent b32e181094
commit 428b2430ef
11 changed files with 35 additions and 39 deletions

View file

@ -1,9 +1,9 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.stdenv.mkDerivation rec {
{ stdenv, fetchzip, lib }:
stdenv.mkDerivation rec {
pname = "constructium";
version = "2024-06-01";
src = pkgs.fetchzip {
src = fetchzip {
url = "https://github.com/kreativekorp/open-relay/releases/download" +
"/2024-06-01/Constructium.zip";
hash = "sha256-W4MLyUq70igpN03557vS4s9nTTQC/2JT5ObA6ctj4wA=";
@ -29,6 +29,6 @@ pkgs.stdenv.mkDerivation rec {
[ucsur]: https://www.kreativekorp.com/ucsur
'';
platforms = pkgs.lib.platforms.all;
platforms = lib.platforms.all;
};
}