Compare commits

...

2 Commits

Author SHA1 Message Date
coolneng ae2242fa0d
Bump dependencies 2022-01-03 00:42:42 +01:00
coolneng 8a97f01aa2
Fix webtorrent-cli using an overlay 2022-01-03 00:42:26 +01:00
2 changed files with 13 additions and 7 deletions

View File

@ -22,11 +22,11 @@
},
"emacs-overlay": {
"locked": {
"lastModified": 1641032585,
"narHash": "sha256-2AQsgDZ4BdMzFCDtYllxDeVjdilmaQCi6nXnQNPAcpk=",
"lastModified": 1641149178,
"narHash": "sha256-Mt+oT5YZ6G9zHctDKV5pY+3vIdsMmAg0HMvz6rxsIc0=",
"owner": "nix-community",
"repo": "emacs-overlay",
"rev": "e5dc491b4294109bbef89bae64be3d2bd7b30549",
"rev": "f3c435a5e5cfa3ce1b2f50ba37b9cacfec4139d9",
"type": "github"
},
"original": {
@ -37,11 +37,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1640871638,
"narHash": "sha256-ty6sGnJUQEkCd43At5U3DRQZD7rPARz5VginSW6hZ3k=",
"lastModified": 1640959792,
"narHash": "sha256-zYSR//06FU2TDOpKKj0Hkff6unsxk3NwwNFuB1loU6E=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "5b091d4fbe3b7b7493c3b46fe0842e4b30ea24b3",
"rev": "59bfda72480496f32787cec8c557182738b1bd3f",
"type": "github"
},
"original": {

View File

@ -5,6 +5,12 @@ with pkgs;
let
emacs-vterm = ((emacsPackagesNgGen emacsPgtkGcc).emacsWithPackages
(epkgs: [ epkgs.vterm epkgs.pdf-tools ]));
patched-webtorrent-cli = nodePackages.webtorrent-cli.override {
buildInputs = [ pkgs.nodePackages.node-gyp-build ];
preRebuild = ''
sed -i -e "s|#!/usr/bin/env node|#! ${pkgs.nodejs}/bin/node|" node_modules/node-gyp-build/bin.js
'';
};
in {
environment.systemPackages = [
@ -69,7 +75,7 @@ in {
# Media
gimp
mpv
nodePackages.peerflix
patched-webtorrent-cli
deluge
youtube-dl-light
calibre