mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
45398d7b54
Add a nimPackages attrset with "buildNimPackage" and "fetchNimble".
13 lines
396 B
Nix
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 { };
|
|
|
|
})
|