~cyplo/dotfiles

ref: 1ca69547b9a678da7a89ac93b7822ac478a2ab7d dotfiles/shell.nix -rw-r--r-- 343 bytes
1ca69547 — Cyryl Płotnicki update 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
let
  nixpkgs = import <nixpkgs> {};
in
  with nixpkgs;
  stdenv.mkDerivation {
    name = "legacy_shell";
    buildInputs = [
      (pkgs.writeShellScriptBin "nix-experimental" ''
        exec ${pkgs.nixUnstable}/bin/nix --experimental-features "nix-command flakes" "$@"
      '')
      cacert
      git
    ];
    shellHook = ''
    '';
  }