Skip to content

Instantly share code, notes, and snippets.

@quag
Created September 9, 2018 20:05
Show Gist options
  • Save quag/050687233ce3f50184a29f977b3210f7 to your computer and use it in GitHub Desktop.
Save quag/050687233ce3f50184a29f977b3210f7 to your computer and use it in GitHub Desktop.
curl 'https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/development/compilers/dotnet/sdk/default.nix' > dotnet-sdk.nix
cat > default.nix << EOF
with import <nixpkgs> {};
rec {
dotnet-sdk = pkgs.callPackage ./dotnet-sdk.nix { };
}
EOF
nix-env -f . -iA dotnet-sdk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment