renamed webfiles to dist
This commit is contained in:
4
deploy
4
deploy
@@ -9,7 +9,7 @@ then
|
|||||||
ssh acern mkdir -p ~/work/modules
|
ssh acern mkdir -p ~/work/modules
|
||||||
rsync -rv --exclude="target" --exclude="gitignore" ./* acern:/tmp/mize-src/
|
rsync -rv --exclude="target" --exclude="gitignore" ./* acern:/tmp/mize-src/
|
||||||
rsync -rv --exclude="target" --exclude="gitignore" --exclude="node_modules" ~/work/modules acern:work/
|
rsync -rv --exclude="target" --exclude="gitignore" --exclude="node_modules" ~/work/modules acern:work/
|
||||||
path=$(ssh acern /home/me/out/nix/bin/nix build /tmp/mize-src#webfiles -L --print-out-paths)
|
path=$(ssh acern /home/me/out/nix/bin/nix build /tmp/mize-src#dist -L --print-out-paths)
|
||||||
|
|
||||||
echo doneeeeeeeeeeeeeee building
|
echo doneeeeeeeeeeeeeee building
|
||||||
echo path: $path
|
echo path: $path
|
||||||
@@ -31,7 +31,7 @@ then
|
|||||||
|
|
||||||
|
|
||||||
else
|
else
|
||||||
path=$(nix build .#webfiles -L -v --print-out-paths $@)
|
path=$(nix build .#dist -L -v --print-out-paths $@)
|
||||||
|
|
||||||
echo doneeeeeeeeeeeeeee building
|
echo doneeeeeeeeeeeeeee building
|
||||||
echo path: $path
|
echo path: $path
|
||||||
|
|||||||
4
lib.nix
4
lib.nix
@@ -455,8 +455,8 @@ rec {
|
|||||||
echo '${module.selector_string}' > $out/mize/dist/${hash}-${module.modName}/selector
|
echo '${module.selector_string}' > $out/mize/dist/${hash}-${module.modName}/selector
|
||||||
'';
|
'';
|
||||||
|
|
||||||
webfiles = systems: stdenv.mkDerivation {
|
dist = systems: stdenv.mkDerivation {
|
||||||
name = "mize-webfiles";
|
name = "mize-dist";
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
|
|
||||||
# so that those binaries run on average linux-gnu systems
|
# so that those binaries run on average linux-gnu systems
|
||||||
|
|||||||
Reference in New Issue
Block a user