Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Commit dcf6166

Browse files
committed
Minor adjustments
1 parent 9e3181c commit dcf6166

File tree

5 files changed

+6
-69
lines changed

5 files changed

+6
-69
lines changed

cardano-shell.nix

Lines changed: 0 additions & 13 deletions
This file was deleted.

nix/cardano-shell.nix

Lines changed: 0 additions & 53 deletions
This file was deleted.

nix/regenerate.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
#!/usr/bin/env bash
22

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)
45
export PATH=$NIX_TOOLS/bin:$PATH
56

7+
# stack-to-nix will transform the stack.yaml file into something
8+
# nix can understand.
69
stack-to-nix -o nix stack.yaml > nix/.stack-pkgs.nix
7-
cabal-to-nix cardano-shell.cabal > nix/cardano-shell.nix

release.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
with import ./default.nix {};
22
{ cardano-shell-execs = cardano-shell.components.exes;
33
cardano-shell-tests = cardano-shell.components.tests;
4+
cardano-shell = cardano-shell.components.library;
45
}

shell.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
(import ./release.nix).cardano-shell.env
1+
(import ./release.nix).cardano-shell

0 commit comments

Comments
 (0)