nixpkgs/pkgs/top-level/nim-packages.nix
Emery Hemingway 45398d7b54 Initial nimPackages utilities
Add a nimPackages attrset with "buildNimPackage" and "fetchNimble".
2021-09-05 11:20:00 +02:00

13 lines
396 B
Nix

{ lib, pkgs, stdenv, newScope, nim, fetchFromGitHub }:
lib.makeScope newScope (self:
let callPackage = self.callPackage;
in {
inherit nim;
nim_builder = callPackage ../development/nim-packages/nim_builder { };
buildNimPackage =
callPackage ../development/nim-packages/build-nim-package { };
fetchNimble = callPackage ../development/nim-packages/fetch-nimble { };
})