This repository was archived by the owner on Aug 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +6
-69
lines changed Expand file tree Collapse file tree 5 files changed +6
-69
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
- NIX_TOOLS=$( nix-build https://github.com/angerman/nix-tools/archive/7204ce9075909eab716361ad47dcffc831b99b28.tar.gz -A nix-tools-all-execs -j8 --no-out-link)
3
+ # build (if needed) the nix-tools from the given hash
4
+ NIX_TOOLS=$( nix-build https://github.com/angerman/nix-tools/archive/9b1066f5613b35037231cf2dbb6db25cb60c4205.tar.gz -A nix-tools-all-execs -j8 --no-out-link)
4
5
export PATH=$NIX_TOOLS /bin:$PATH
5
6
7
+ # stack-to-nix will transform the stack.yaml file into something
8
+ # nix can understand.
6
9
stack-to-nix -o nix stack.yaml > nix/.stack-pkgs.nix
7
- cabal-to-nix cardano-shell.cabal > nix/cardano-shell.nix
Original file line number Diff line number Diff line change 1
1
with import ./default.nix { } ;
2
2
{ cardano-shell-execs = cardano-shell . components . exes ;
3
3
cardano-shell-tests = cardano-shell . components . tests ;
4
+ cardano-shell = cardano-shell . components . library ;
4
5
}
Original file line number Diff line number Diff line change 1
- ( import ./release.nix ) . cardano-shell . env
1
+ ( import ./release.nix ) . cardano-shell
You can’t perform that action at this time.
0 commit comments