Skip to content

Commit 8e64666

Browse files
committed
get child shell via flake
1 parent 1fe186a commit 8e64666

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

buildFrontend.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nix develop cardano-transaction-lib/ -L --extra-experimental-features "nix-command flakes" -c ./buildFrontendStage2.sh
1+
nix develop ".#stage2" -L --extra-experimental-features "nix-command flakes" -c ./buildFrontendStage2.sh

flake.nix

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -71,22 +71,22 @@
7171
} //
7272
flake-utils.lib.eachDefaultSystem (system:
7373
let
74-
pkgs = import nixpkgs {
75-
overlays = [ self.overlay ];
76-
inherit system;
77-
};
74+
pkgs = nixpkgs.legacyPackages.${system}.extend self.overlay;
7875
in
7976
rec {
80-
devShell = pkgs.mkShell {
81-
nativeBuildInputs = with pkgs;
82-
[
83-
postgresql
84-
jq
85-
curl
86-
ipfs
87-
cardano-node.packages.${system}.cardano-cli
88-
arion.packages.${system}.arion
89-
];
77+
devShells = {
78+
default = pkgs.mkShell {
79+
nativeBuildInputs = with pkgs;
80+
[
81+
postgresql
82+
jq
83+
curl
84+
ipfs
85+
cardano-node.packages.${system}.cardano-cli
86+
arion.packages.${system}.arion
87+
];
88+
};
89+
stage2 = cardano-transaction-lib.devShell.${system};
9090
};
9191
nixosModules.default = import ./nixos-module.nix inputs;
9292
nixosConfigurations.test = nixpkgs.lib.nixosSystem {

0 commit comments

Comments
 (0)