Skip to content

Commit

Permalink
(nix) bump node and yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
paulperegud committed May 23, 2024
1 parent 41cc10e commit a1bbc86
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
18 changes: 15 additions & 3 deletions nix/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,22 @@
"homepage": "",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "3fb3ce0b6b84d3b4e7b49e142da9c5764b563058",
"sha256": "0wwnjdjckhibw3662kb3v8r0xbj7f3qjf7q9gacc45n6y4mfr1hk",
"rev": "e381a1288138aceda0ac63db32c7be545b446921",
"sha256": "0nlrd3cp4mim7h8159sc7yng251w2kg5h8i9q3fy8xzwmgjz0z9w",
"type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/3fb3ce0b6b84d3b4e7b49e142da9c5764b563058.tar.gz",
"url": "https://github.com/NixOS/nixpkgs/archive/e381a1288138aceda0ac63db32c7be545b446921.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"nixpkgs-rg": {
"branch": "738fe494da28777ddeb2612c70a5dc909958df4b",
"description": "Nix Packages collection & NixOS",
"homepage": "",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "738fe494da28777ddeb2612c70a5dc909958df4b",
"sha256": "1im58ql0ilvk79pn349f1yzr4z6mycag40vlym78q1p9xlag2fkn",
"type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/738fe494da28777ddeb2612c70a5dc909958df4b.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"nixpkgs16": {
Expand Down
11 changes: 4 additions & 7 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
# shell.nix
let
sources = import ./nix/sources.nix;
pkgs16 = import sources.nixpkgs16 {};
pkgsrg = import sources.nixpkgs-rg {};
pkgs = import sources.nixpkgs {};
yarn16 = pkgs16.yarn.overrideAttrs (finalAttrs: previousAttrs: {
buildInputs = [ pkgs16.nodejs-16_x ];
});
in

pkgs.mkShell {
buildInputs = [
pkgs16.nodejs-16_x
yarn16
pkgs.nodejs
pkgs.yarn
pkgs.git
pkgs.ripgrep
pkgsrg.ripgrep
];
}

0 comments on commit a1bbc86

Please sign in to comment.