Skip to content

Commit

Permalink
nixpkgs-unstable
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota committed May 21, 2024
1 parent 2ac4b3f commit 54f29d2
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,13 @@
# $ nix-shell --pure --arg musl true
#

{llvm ? 11, musl ? false, system ? builtins.currentSystem}:
{llvm ? 18, musl ? false, system ? builtins.currentSystem}:

let
nixpkgs = import (builtins.fetchTarball {
name = "nixpkgs-23.05";
url = "https://github.com/NixOS/nixpkgs/archive/23.05.tar.gz";
sha256 = "10wn0l08j9lgqcw8177nh2ljrnxdrpri7bp0g7nvrsn9rkawvlbf";
}) {
inherit system;
};
name = "nixpkgs-unstable";
url = "https://github.com/NixOS/nixpkgs/archive/master.tar.gz";
}) { inherit system; };

pkgs = if musl then nixpkgs.pkgsMusl else nixpkgs;
llvmPackages = pkgs."llvmPackages_${toString llvm}";
Expand Down

0 comments on commit 54f29d2

Please sign in to comment.