Commit Graph

25 Commits

Author SHA1 Message Date
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
R. RyanTM
7ec800fda1 elvish: 0.14.0 -> 0.14.1 2020-08-25 12:42:02 +00:00
zowoq
cea7cd902e buildGoModule packages: set doCheck = false 2020-08-10 16:02:30 +10:00
Vladyslav M
6eefefe1aa
elvish: 0.13.1 -> 0.14.0 2020-07-15 23:09:10 +03:00
Colin L Rice
d6162dab50
go-modules: Update files to use vendorSha256 2020-05-14 07:22:21 +01:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
AndersonTorres
eb74fa912d elvish: 0.13 -> 0.13.1 2020-03-30 22:05:36 -03:00
Jörg Thalheim
066db11215
Revert "Merge pull request #83099 from marsam/fix-buildGoModule-packages-darwin"
This reverts commit 4e6bf03504c9e09f067cc6dee6b5aeec43a1405c, reversing
changes made to afd997aab6e9b7a322198092c7828d6c560ac06f.

Instead we propagate those frameworks from the compiler again
2020-03-27 07:33:21 +00:00
Mario Rodas
ee41c79c9a elvish: fix build on darwin 2020-03-21 04:54:00 -05:00
Jason Felice
52068db0a3 elvish: 0.12 -> 0.13 2020-03-10 14:59:48 -04:00
Anderson Torres
675ebc5559 elvish: a small fixup (#54531)
* Elvish: a small fixup

Fixing version variable in order to properly download the source code.
Also, some minor stylistical modifications and additions.

* elvish: use pname

* Update pkgs/shells/elvish/default.nix

Use `pname` instead of `name`.

Co-Authored-By: AndersonTorres <torres.anderson.85@protonmail.com>
2019-01-26 14:25:20 +00:00
zimbatm
9d49cf1808 elvish: provide the compiled version
Without this fix, `elvish -version` displays "unknown"
2018-10-04 16:10:47 +02:00
Vladyslav Mykhailichenko
88cdecf34c elvish: 0.11 -> 0.12 2018-07-20 22:40:58 +03:00
Matthew Bauer
25342cd6bd
elish: add shellPath attribute
Fixes #42764
2018-06-29 13:36:59 -04:00
tilpner
5cf9424632
elvish: 0.10 -> 0.11 2018-01-31 23:32:49 +01:00
Dan Peebles
b426c85ce2 Get rid of most @rpath nonsense on Darwin
This requires some small changes in the stdenv, then working around the
weird choice LLVM made to hardcode @rpath in its install name, and then
lets us remove a ton of annoying workaround hacks in many of our Go
packages. With any luck this will mean less hackery going forward.
2017-10-08 16:13:46 -04:00
Diego Zamboni
8b8a2fd542 elvish: 0.9 -> 0.10; fix darwin build (#29587)
* First attempt at making elvish compile on darwin

* Fixed cyclic dependency on darwin

This fixes the "cycle detected in the references of" error when building
on darwin. The fix is based on the solution in issue #18131.

* Use version 0.10 and not 0.10.1, which is not officially released yet
2017-09-21 12:20:37 +01:00
Jörg Thalheim
9728c26d28 elvish: remove unnecessary deps.nix
fully vendorized now
2017-07-07 09:50:05 +01:00
tjikini
eca3e8cc4b elvish: 0.5 -> 0.9 2017-07-05 23:37:11 +03:00
Rahul Gopinath
939c846ae7
elvish: 0.1 -> 0.5 2017-02-12 21:37:53 +01:00
Kamil Chmielewski
914e0e594c buildGoPackage: deps.json -> deps.nix in NIXON
https://github.com/NixOS/nixpkgs/pull/17254#issuecomment-245295541

* update docs to describe `deps.nix`
* include goDeps in nix-shell GOPATH
* NixOS 16.09 rel notes about replacing goPackages
2016-09-16 00:04:55 +01:00
Kamil Chmielewski
da3ddd48e4 buildGoPackage: remove Go deps file libs.json
After #16017 there were a lot
of comments saying that `nix` would be better than `JSON`
for Go packages dependency sets.
As said in https://github.com/NixOS/nixpkgs/pull/16017#issuecomment-229624046

    > Because of the content-addressable store, if two programs have the
    > same dependency it will already result in the same derivation in
    > the
    > store. Git also has compression in the pack files so it won't make
    > much difference to duplicate the dependencies on disk. And finally
    > most users will just use the binary builds so it won't make any
    > differences to them.

This PR removes `libs.json` file and puts all package dependencies in
theirs `deps.json`.
2016-08-11 23:07:09 +02:00
Rahul Gopinath
8c7a32a670 elvish: disable darwin 2016-06-28 21:13:33 -07:00
Rahul Gopinath
293d23abb4 elvish: init at 0.1
A novel unix shell written in go language.
2016-06-21 00:04:54 -07:00