Skip to content

Commit

Permalink
Use name variable
Browse files Browse the repository at this point in the history
  • Loading branch information
fmaste committed Aug 8, 2022
1 parent 76213a5 commit 9589485
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions nix/workbench/docker.nix
Expand Up @@ -24,10 +24,10 @@ let

materialise-profile =
{ profileNix }:
pkgs.runCommand "workbench-profile-outputs-${profileNix.name}-dockerd" {}
pkgs.runCommand "workbench-profile-outputs-${profileNix.name}-${name}d" {}
''
mkdir $out
cp ${mkBackendConf profileNix} $out/docker.conf
cp ${mkBackendConf profileNix} $out/${name}.conf
'';

## Backend-specific Nix bits:
Expand Down
4 changes: 2 additions & 2 deletions nix/workbench/supervisor.nix
Expand Up @@ -24,10 +24,10 @@ let

materialise-profile =
{ profileNix }:
pkgs.runCommand "workbench-profile-outputs-${profileNix.name}-supervisord" {}
pkgs.runCommand "workbench-profile-outputs-${profileNix.name}-${name}d" {}
''
mkdir $out
cp ${mkBackendConf profileNix} $out/supervisor.conf
cp ${mkBackendConf profileNix} $out/${name}.conf
'';

## Backend-specific Nix bits:
Expand Down

0 comments on commit 9589485

Please sign in to comment.