mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
idrisPackages.build-builtin-package: Include version in name
This commit is contained in:
parent
c3acd48763
commit
ca381067e7
1 changed files with 6 additions and 2 deletions
|
@ -1,8 +1,12 @@
|
|||
# Build one of the packages that come with idris
|
||||
# name: The name of the package
|
||||
# deps: The dependencies of the package
|
||||
{ idris, build-idris-package, lib }: name: deps: build-idris-package {
|
||||
inherit name;
|
||||
{ idris, build-idris-package, lib }: name: deps:
|
||||
let
|
||||
inherit (builtins.parseDrvName idris.name) version;
|
||||
in
|
||||
build-idris-package {
|
||||
name = "${name}-${version}";
|
||||
|
||||
propagatedBuildInputs = deps;
|
||||
|
||||
|
|
Loading…
Reference in a new issue