aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
blob: 13ea4b1118eb22e5c7f30a01ff0e878df6ba88f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
let

  name = "nix-shell.edwinmattiacci";

  pkgs = import (builtins.fetchTarball {
    url = "https://releases.nixos.org/nixos/22.05/nixos-22.05.998.d17a56d90ec/nixexprs.tar.xz";
    sha256 = "084dzb7fmchfhhflrgprjjv7qz3j7vxw3d01f82q8p4g1x7hzn36";
  }) { };

  mkShellPure = pkgs.callPackage (pkgs.fetchurl {
    url = "https://raw.githubusercontent.com/tdro/dotfiles/b710281b132056105709c03dda1899a6afc68a93/.config/nixpkgs/helpers/mkShellPure.nix";
    sha256 = "1ciwifsx2hrp0ymm077zfb5q8ravrk545bda1q249y2spw9np4ms";
  }) { };


in mkShellPure {

  packages = [
    pkgs.bash
    pkgs.coreutils
    pkgs.findutils
    pkgs.gawk
    pkgs.gnumake
    pkgs.gnused
    pkgs.hugo
    pkgs.minify
    pkgs.rsync
    pkgs.sqlite
  ];

  shellHook = ''
    export PS1='\h (${name}) \W \$ '
  '';
}