summary refs log tree commit diff
path: root/pkgs/tools/filesystems/go-mtpfs
diff options
context:
space:
mode:
authorKamil Chmielewski <kamil.chm@gmail.com>2016-08-11 23:07:09 +0200
committerKamil Chmielewski <kamil.chm@gmail.com>2016-08-11 23:07:09 +0200
commitda3ddd48e41dbc2e507da5ddc1cda2a10ae6f9bf (patch)
tree10e34ffdf51e8e9dcb22d247d4096caea0b7a386 /pkgs/tools/filesystems/go-mtpfs
parente26ac7afd49daefc6d0dd560e3c2ccda56233149 (diff)
downloadnixpkgs-da3ddd48e41dbc2e507da5ddc1cda2a10ae6f9bf.tar
nixpkgs-da3ddd48e41dbc2e507da5ddc1cda2a10ae6f9bf.tar.gz
nixpkgs-da3ddd48e41dbc2e507da5ddc1cda2a10ae6f9bf.tar.bz2
nixpkgs-da3ddd48e41dbc2e507da5ddc1cda2a10ae6f9bf.tar.lz
nixpkgs-da3ddd48e41dbc2e507da5ddc1cda2a10ae6f9bf.tar.xz
nixpkgs-da3ddd48e41dbc2e507da5ddc1cda2a10ae6f9bf.tar.zst
nixpkgs-da3ddd48e41dbc2e507da5ddc1cda2a10ae6f9bf.zip
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`.
Diffstat (limited to 'pkgs/tools/filesystems/go-mtpfs')
-rw-r--r--pkgs/tools/filesystems/go-mtpfs/deps.json31
1 files changed, 17 insertions, 14 deletions
diff --git a/pkgs/tools/filesystems/go-mtpfs/deps.json b/pkgs/tools/filesystems/go-mtpfs/deps.json
index cc2ce33ac30..9960293f090 100644
--- a/pkgs/tools/filesystems/go-mtpfs/deps.json
+++ b/pkgs/tools/filesystems/go-mtpfs/deps.json
@@ -1,17 +1,20 @@
 [
-  {
-    "include": "../../../go-modules/libs.json",
-    "packages": [
-      "github.com/hanwen/go-fuse"
-    ]
-  },
-  {
-    "goPackagePath": "github.com/hanwen/usb",
-    "fetch": {
-      "type": "git",
-      "url": "https://github.com/hanwen/usb",
-      "rev": "69aee4530ac705cec7c5344418d982aaf15cf0b1",
-      "sha256": "01k0c2g395j65vm1w37mmrfkg6nm900khjrrizzpmx8f8yf20dky"
+    {
+        "goPackagePath": "github.com/hanwen/go-fuse",
+        "fetch": {
+            "type": "git",
+            "url": "https://github.com/hanwen/go-fuse",
+            "rev": "bd746dd8bcc8c059a9d953a786a6156eb83f398e",
+            "sha256": "1dvvclp418j3d02v9717sfqhl6fw6yyddr9r3j8gsiv8nb62ib56"
+        }
+    },
+    {
+        "goPackagePath": "github.com/hanwen/usb",
+        "fetch": {
+            "type": "git",
+            "url": "https://github.com/hanwen/usb",
+            "rev": "69aee4530ac705cec7c5344418d982aaf15cf0b1",
+            "sha256": "01k0c2g395j65vm1w37mmrfkg6nm900khjrrizzpmx8f8yf20dky"
+        }
     }
-  }
 ]