Skip to content

Instantly share code, notes, and snippets.

@GeroVanMi
Created April 6, 2024 06:32
Show Gist options
  • Select an option

  • Save GeroVanMi/00c07cc358bbb2c08508e5ca83662aba to your computer and use it in GitHub Desktop.

Select an option

Save GeroVanMi/00c07cc358bbb2c08508e5ca83662aba to your computer and use it in GitHub Desktop.
A simple nix shell with unstable pkgs
let
nixpkgs_unstable = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-unstable";
pkgs_unstable = import nixpkgs_unstable { config = {}; overlays = []; };
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-23.11";
pkgs = import nixpkgs { config = {}; overlays = []; };
in
pkgs.mkShellNoCC {
packages = [
pkgs.python311Full
pkgs_unstable.python311Packages.dvc
];
shellHook = ''
fish
'';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment