Last active
February 24, 2022 17:06
-
-
Save jeovazero/ea809f87d546749123f8949a21395ac6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
config = { | |
packageOverrides = p: { | |
sbt = p.sbt.override { | |
jre = p.jdk11; | |
}; | |
scala = p.scala.override { | |
jre = p.jdk11; | |
}; | |
}; | |
}; | |
nixpkgs = import <nixpkgs-21.11-darwin> { inherit config; }; | |
in | |
with nixpkgs; | |
[ neovim git docker-compose sbt jdk11 scala ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
pinnedNix = builtins.fetchTarball { | |
name = "nix-darwin-21.11-2022-02-22"; | |
url = "https://github.com/nixos/nixpkgs/archive/759e24c7d9169ec798107246b5117a997f27e5dc.tar.gz"; | |
# Hash obtained using `nix-prefetch-url --unpack <url>` | |
sha256 = "1zrb3jn8jks5b8rs5x0zayya70j6hijjm3xyc4ygx5bxlv05is73"; | |
}; | |
config = { | |
packageOverrides = p: { | |
sbt = p.sbt.override { | |
jre = p.jdk11; | |
}; | |
scala = p.scala.override { | |
jre = p.jdk11; | |
}; | |
}; | |
}; | |
nixpkgs = import pinnedNix { inherit config; }; | |
in | |
with nixpkgs; | |
[ neovim git docker-compose sbt jdk11 scala ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment