Skip to content

Commit

Permalink
Be able to visualize metaOnly sample_environments
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjm committed Jan 26, 2024
1 parent 5e4f3a7 commit b712ee4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@
pkgsStable.lib.mapAttrsToList (name: path: { inherit name path; })
sample_environments
);
sample_environments_metaonly = import ./sample_environments.nix { inherit codedown; metaOnly = true; };
sample_environments_farm_metaonly = pkgsStable.linkFarm "sample_environments_farm_metaonly" (
pkgsStable.lib.mapAttrsToList (name: path: { inherit name path; })
sample_environments_metaonly
);

compilers = pkgsStable.callPackage ./languages/haskell/compilers.nix {
ihaskell-source = pkgsStable.fetchFromGitHub {
Expand Down
10 changes: 10 additions & 0 deletions scripts/sample_environments_visualize_metaonly.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env sh

SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$SCRIPTDIR/.."

set -e

nix build '.#sample_environments_farm_metaonly'

nix-tree '.#sample_environments_farm_metaonly'

0 comments on commit b712ee4

Please sign in to comment.