summary refs log tree commit diff
path: root/pkgs/development/idris-modules
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@mailbox.org>2017-08-22 19:48:56 -0500
committerThomas Tuegel <ttuegel@mailbox.org>2017-08-22 19:48:56 -0500
commitca381067e77f01b875cacdee3fe0934c87b89bda (patch)
tree29cffdae5b1dfd0f5c9ebe95d12a3cfff23f9256 /pkgs/development/idris-modules
parentc3acd48763ba47277407f3d477f7f959f59fcb2b (diff)
downloadnixpkgs-ca381067e77f01b875cacdee3fe0934c87b89bda.tar
nixpkgs-ca381067e77f01b875cacdee3fe0934c87b89bda.tar.gz
nixpkgs-ca381067e77f01b875cacdee3fe0934c87b89bda.tar.bz2
nixpkgs-ca381067e77f01b875cacdee3fe0934c87b89bda.tar.lz
nixpkgs-ca381067e77f01b875cacdee3fe0934c87b89bda.tar.xz
nixpkgs-ca381067e77f01b875cacdee3fe0934c87b89bda.tar.zst
nixpkgs-ca381067e77f01b875cacdee3fe0934c87b89bda.zip
idrisPackages.build-builtin-package: Include version in name
Diffstat (limited to 'pkgs/development/idris-modules')
-rw-r--r--pkgs/development/idris-modules/build-builtin-package.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/idris-modules/build-builtin-package.nix b/pkgs/development/idris-modules/build-builtin-package.nix
index 95641a8f9fa..defe8765403 100644
--- a/pkgs/development/idris-modules/build-builtin-package.nix
+++ b/pkgs/development/idris-modules/build-builtin-package.nix
@@ -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;