Skip to content
Snippets Groups Projects
Select Git revision
  • dont-use-etc-hosts
  • sec
  • simplify-grafana
  • simple-docs-build
  • local-test-grid
  • develop default protected
  • no-morph-on-nodes
  • stuff
  • arion
9 results

shell.nix

Blame
  • Forked from PrivateStorage / PrivateStorageio
    1623 commits behind the upstream repository.
    shell.nix 665 B
    let
      nixpkgs-rev = builtins.readFile ./nixpkgs.rev;
      nixpkgs-src = "https://github.com/NixOS/nixpkgs-channels/archive/${nixpkgs-rev}.tar.gz";
      nixpkgs = import (builtins.fetchTarball nixpkgs-src) { };
    in
    { pkgs ? nixpkgs }:
    let
      # Get a version of Morph known to work with our version of NixOS.
      morph-src = pkgs.fetchFromGitHub {
        owner = "DBCDK";
        repo = "morph";
        rev = "3856a9c2f733192dee1600b8655715d760ba1803";
        hash = "sha256:0jhypvj45yjg4cn4rvb2j9091pl6z5j541vcfaln5sb3ds14fkwf";
      };
      morph = pkgs.callPackage (morph-src + "/nix-packaging") { };
    in
    pkgs.mkShell {
      NIX_PATH = "nixpkgs=${nixpkgs-src}";
      buildInputs = [
        morph
      ];
    }