From a4e40a1cc92b1f7f057e2034702027eebdcd04ec Mon Sep 17 00:00:00 2001 From: Malte Brandy Date: Fri, 24 Jul 2020 23:13:58 +0200 Subject: [PATCH] Drop custom neuron and update nixpkgs --- home-manager/roles/zettelkasten.nix | 2 +- nix/sources.json | 24 ++++++------------------ overlays/30-ghc.nix | 2 +- overlays/pkgSets.nix | 1 - 4 files changed, 8 insertions(+), 21 deletions(-) diff --git a/home-manager/roles/zettelkasten.nix b/home-manager/roles/zettelkasten.nix index 40650ac0..8ae59121 100644 --- a/home-manager/roles/zettelkasten.nix +++ b/home-manager/roles/zettelkasten.nix @@ -1,7 +1,7 @@ { pkgs, config, ... }: let notesDir = "${config.home.homeDirectory}/git/zettelkasten"; - cmd = "${pkgs.home-pkgs.neuron}/bin/neuron -d ${notesDir} rib -wS"; + cmd = "${pkgs.myHaskellPackages.neuron}/bin/neuron -d ${notesDir} rib -wS"; in { systemd.user.services.neuron = { Unit.Description = "Neuron zettelkasten service"; diff --git a/nix/sources.json b/nix/sources.json index 799facb7..372f25bc 100644 --- a/nix/sources.json +++ b/nix/sources.json @@ -11,18 +11,6 @@ "url": "https://github.com/rycee/home-manager/archive/318bc0754ed6370cfcae13183a7f13f7aa4bc73f.tar.gz", "url_template": "https://github.com///archive/.tar.gz" }, - "neuron": { - "branch": "master", - "description": "Future-proof and simple-to-use notes system based on Zettelkasten.", - "homepage": "https://neuron.zettel.page", - "owner": "srid", - "repo": "neuron", - "rev": "d73fcd21190d1a999a0b2a4a45527563b4645fd9", - "sha256": "1pn2ds2c4zfmhswadqfi9f600f4acxkgarzajzdjw5vvvpfchqmx", - "type": "tarball", - "url": "https://github.com/srid/neuron/archive/d73fcd21190d1a999a0b2a4a45527563b4645fd9.tar.gz", - "url_template": "https://github.com///archive/.tar.gz" - }, "nix-direnv": { "branch": "master", "description": "A fast, persistent use_nix implementation for direnv [maintainer=@Mic92] ", @@ -65,10 +53,10 @@ "homepage": null, "owner": "NixOS", "repo": "nixpkgs", - "rev": "1975b8687474764c157e6a220fdcad2c5dc348a1", - "sha256": "10klbwcfn1x7qbbwajg5nji2d3hw65bjawza59w2cw8pb889bg5z", + "rev": "69af91469be26a8d28052f3d8de6d48c0b5e05bc", + "sha256": "02cxlm12jvbbiky1awfm6pxfp346p3hgvbnhlpfzb3sgwm53r8qd", "type": "tarball", - "url": "https://github.com/NixOS/nixpkgs/archive/1975b8687474764c157e6a220fdcad2c5dc348a1.tar.gz", + "url": "https://github.com/NixOS/nixpkgs/archive/69af91469be26a8d28052f3d8de6d48c0b5e05bc.tar.gz", "url_template": "https://github.com///archive/.tar.gz" }, "nixpkgs-master": { @@ -77,10 +65,10 @@ "homepage": null, "owner": "NixOS", "repo": "nixpkgs", - "rev": "c61b6b1b18f9887243f9de4305c412837293738d", - "sha256": "1jzjpa59l0649icmcpqwi6zgkjmvwarjfwj3vfkb16ghd8vlv7zb", + "rev": "dbacb52ad85216c25567978f7f968c8856b5e686", + "sha256": "1cpcdhx5rwzzppdadd4yr1imgzyrhmscaaaqycrdjn5frdcpl1rl", "type": "tarball", - "url": "https://github.com/NixOS/nixpkgs/archive/c61b6b1b18f9887243f9de4305c412837293738d.tar.gz", + "url": "https://github.com/NixOS/nixpkgs/archive/dbacb52ad85216c25567978f7f968c8856b5e686.tar.gz", "url_template": "https://github.com///archive/.tar.gz" }, "obelisk": { diff --git a/overlays/30-ghc.nix b/overlays/30-ghc.nix index 0a3ea6dc..d9387044 100644 --- a/overlays/30-ghc.nix +++ b/overlays/30-ghc.nix @@ -12,7 +12,7 @@ let inherit (p) brittany ormolu releaser cabal-fmt stack ghcid ghcide haskell-language-server cabal-install dhall aeson unordered-containers these taskwarrior pandoc hlint - cabal2nix weeder reflex-dom password optics-th shh-extras; + cabal2nix weeder reflex-dom password optics-th shh-extras neuron; } // makeHaskellScriptPackages p; in { myHaskellPackages = makeHaskellPackages master.haskellPackages; diff --git a/overlays/pkgSets.nix b/overlays/pkgSets.nix index c791cf1c..c1581428 100644 --- a/overlays/pkgSets.nix +++ b/overlays/pkgSets.nix @@ -47,7 +47,6 @@ self: super: { go gdb mpc_cli ncmpcpp shfmt htmlTidy astyle nodejs tasksh magic-wormhole nixfmt rnix-lsp tmate rustup kitty nix-top ghc ghcid; obelisk = (import self.sources.obelisk { }).command; - neuron = import self.sources.neuron { }; }; accounting-pkgs = { inherit (self.haskellPackages) hledger hledger-ui hledger-web hledger-iadd;